WP Maps comes with a feature that will allow users to translate or change any text in the product locator. Furthermore, this article will provide a step-by-step guide on how to translate the text in your product locator.
For example, the search bar in your product locator may have the words “Search Location” written on it. Using the translation feature you can change “Search Location” to “Search Zip Code or City” if you choose to do so. You can even change the text to a different language, and make the product locator in a foreign language.
Text Translation Example
To translate or change the text of your store locator, please follow the below steps:
Step 1: On the WP Maps dashboard, click on the “publishing tools” icon and select “Text Translation”
Select Translate Option
Step 2: Search for the text you want to translate (“Search Location”) and type in its translation (“Search Zipcode or City”)
Text Translation Page
Step 3: Click on the "Save" button
Step 4: Refresh the preview page and you will see the changes take place
Product Locator with Translated Text
In some cases the changes will not be seen on your website, this is due to cache. To clear the cache you will need to refresh the build on the WP Maps dashboard. Once you refresh the build a new code will be generated that will need to be copied and pasted on your website. Once this is done the translation change will also appear on your website.
Product Locator Script After Refreshing the Build
That concludes this section on text translation. I hoped it helped you in successfully changing the text in your WP Maps product locator.