Frequently asked questions

How do I change the WP Go Maps Plugin Language

8min

Overview

This article covers how to change the the WP Go Maps display language. The document covers two main sections

Prerequisites

The Following Plugin/s need to be installed and active

  • WP Go Maps
  • WP Go Maps Pro Add-on (Optional)

The following additional software may be required if you need to translate the plugin to a (currently) unsupported language or wish to contribute to an existing translation.

Changing the Call to the Google Maps API

The WP Go Maps language can be changed by changing the default language for your WordPress site.

Please navigate to:

WP Dashboard -> Settings -> General

Scroll down toย Site Languageย and choose your desired language from the drop-down list. Then click theย Save Changesย button.

Choosing Site Language
Choosing Site Language
๏ปฟ

If our translation for your chosen language is incomplete, or does not exist, you are able to translate the plugin following the steps below:

Translate the Plugin

To translate our plugin you will first need to download and installย POEdit.ย POEditย is one of the best editors for translating apps and websites that use gettext (which WordPress uses). You will find Windows and Mac downloads and Linux/Unix source code on theย Downloadย page.

POEdit download page
POEdit download page
๏ปฟ

Next, youโ€™ll need the default Language file (wp-google-maps-default.po) fromย WP Go Maps. You will find this file in theย /languagesย ย folder underneath the mainย wp-google-mapsย folder for the plugin

Locating the wp-google-maps-default.po file
Locating the wp-google-maps-default.po file
๏ปฟ

Once youโ€™ve downloaded and installedย POEditย on your computer and know where to find the default Language file (wp-google-maps-default.po), openย POEdit. Select "File" and then the Openย option at the top of the screen and then navigate to and open theย wp-google-maps-default.poย file.

Open wp-google-maps-default.po in POEdit
Open wp-google-maps-default.po in POEdit
๏ปฟ

Youโ€™ll see a red warning at the top of the PO Edit window saying that the language of the translation isnโ€™t set. Click theย Set Languageย button.

On theย Translation Propertiesย window, select theย Languageย you want to translate the plugin into. You can also add your team name and email address to give yourselves credit for the translation. Then click theย OKย button.

Set Translation language
Set Translation language
๏ปฟ

Before going any further, click theย Fileย menu then selectย Save Asย and save your file under another name, using a two-letter abbreviation for your chosen language (e.g. the German translation would use the DE abbreviation)

For each string you want to translate, select the string in theย Sourceย text area and either select a suggested translation or enter your translation for the string in theย Translationย area.

Translating a string
Translating a string
๏ปฟ

After youโ€™ve completed your translation, please send your translated files to us. Then weโ€™ll add them to the next update we release. Weโ€™ll give credit to you for the translation in ourย readmeย file (please provide us with your first and last names for the credits). We will also send you a copy ofย WP Go Maps Proย as a thank you for taking the time to translateย WP Go Maps.

Related Topic

If you are running a Multilanguage site, please see our help documentation for Translating the plugin with WPML๏ปฟ