website logo
Go back to WP Go Maps
โŒ˜K
Atlas Novus (v9)
๐Ÿ‘Initial Setup
๐Ÿ‘First-time users
๐Ÿ‘Map Features
๐Ÿ‘Integrations
๐Ÿ‘Importing and Exporting Data
๐Ÿ‘Troubleshooting
๐Ÿ‘Frequently asked questions
Legacy (v9)
๐Ÿ‘Initial Setup
๐Ÿ‘First-time users
๐Ÿ‘Map Features
๐Ÿ‘Integrations
๐Ÿ‘Importing and Exporting Data
๐Ÿ‘Troubleshooting
๐Ÿ‘Frequently asked questions
Integrations
Developers
Hooks
Docs powered byย archbeeย 

Translating the plugin with WPML

13min

Overview

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.

Setup

Prerequisites

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.

Translate Page/Post

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.

Ensure your page is translated
Ensure your page is translated
๏ปฟ

Scan WP Go Maps for translation strings

Navigate to the โ€œThemes and plugins localizationโ€ area within WPML

WPML -> Themes and plugins localization

Access WPML plugin localization area
Access WPML plugin localization area
๏ปฟ

Select โ€œWP Go Mapsโ€ and/or โ€œWP Go Maps โ€“ Pro Add-onโ€ and click โ€œScan selected plugins for stringsโ€.

Scan WP Go Maps for Strings
Scan WP Go Maps for Strings
๏ปฟ

WPML will scan and locate all the strings within our plugin which can be translated.

Translation String Scan Results
Translation String Scan Results
๏ปฟ

Once the scan is complete, you should see updated string counters within this area.

Updated string counters
Updated string counters
๏ปฟ

String translation

Navigate to the โ€œString Translationโ€ page

WPML -> String Translation

Access String Translation area
Access String Translation area
๏ปฟ

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.

Select string to translate
Select string 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.

Translated String
Translated String
๏ปฟ

Once you have completed translation, they will become available on your site, depending on the language option selected.

Example

We have prepared an example of our store locator, translated with WPML below.

Before

Map before Translation
Map before Translation
๏ปฟ

After

Map after Translation
Map after Translation
๏ปฟ

Troubleshooting

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).

Look for strings while pages are rendered setting in WPML
Look for strings while pages are rendered setting in WPML
๏ปฟ

๏ปฟ

Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
WooCommerce - Product Location Editor
NEXT
Importing and Exporting Data
Docs powered byย archbeeย 
TABLE OF CONTENTS
Overview
Setup
Prerequisites
Translate Page/Post
Scan WP Go Maps for translation strings
String translation
Example
Before
After
Troubleshooting