Translating the plugin with WPML
WP Go MapsΒ BasicΒ andΒ ProΒ support translation withΒ WPML.
WPMLΒ allows you to easily translate the user interface ofΒ WP Go MapsΒ on your site. This document does require you to haveΒ WPMLΒ installed on your site.
The following documentation shows how to add translations for WP Go Maps within WPML, and assumes that you have alreadyΒ Set up WPMLΒ on your site.
The Following Plugins need to be installed and active
- WP Go Maps
- WP Go Maps Pro Addon (optional)
- WPML Multilingual CMS
- WPML String Translation
Please note:Β Marker data translations (Dynamic data) is currently not supported, meaning it is not currently possible to translate marker titles or descriptions. We are working on adding support for dynamic translations in the future.
Navigate to the page/post where the WP Go Maps shortcode or widget will be placed.
Ensure the page is translated to the target language to fully support language switching.
Navigate to the βThemes and plugins localizationβ area within WPML
WPML -> Themes and plugins localization
Select βWP Go Mapsβ and/or βWP Go Maps β Pro Add-onβ and click βScan selected plugins for stringsβ.
WPML will scan and locate all the strings within our plugin which can be translated.
Once the scan is complete, you should see updated string counters within this area.
Navigate to the βString Translationβ page
WPML -> String Translation
Search for the string that you would like to translate with WPML.
Click on the β+β icon under the flag of the language that you would like to translate.
The translation window will appear where you may enter in your preferred translation.
You can save your translation by hitting the Enter or Tab keys on your keyboard or by simply clicking out of the window.
Once you have completed translation, they will become available on your site, depending on the language option selected.
We have prepared an example of our store locator, translated with WPML below.
Should you be experiencing issues whereby the translations are not being implemented on the frontend, please may you enable the βLook for strings while pages are renderedβ setting (WPML -> String Translation).
ο»Ώ