Adding multiple sets of translations

Create translations

1: Navigate to Languages settings

2: Enter language name and press ‘Create

3: Click on the name of created language

4: In the opened window add your translations and press ‘Update Language’

Add any number of translations using above steps.

Load Storemapper widget with specific language set

You can use specific parameter in the embed code to tell Storemapper what translation to load.

data-storemapper-language = “language name” (the same way you named it in your settings)

<div id=’storemapper’ style=’width:100%;’><p>Store Locator is loading from <a href=’https://www.storemapper.co’>Storemapper store locator app</a>…</p></div><script data-storemapper-start=’2018,03,21′ data-storemapper-id=’1′ data-storemapper-language=’fr’>(function() {var script = document.createElement(‘script’);script.type  = ‘text/javascript’;script.async = true;script.src = document.location.protocol + ‘//www.storemapper.co/js/widget.js‘; var entry = document.getElementsByTagName(‘script’)[0];entry.parentNode.insertBefore(script, entry);}());</script>

Was this article helpful?

Related Articles