How to update a translation of Visitor Maps for WordPress
How to update a translation of Visitor Maps for WordPress:
This article explains how to take an existing language file and update it. Sometimes a language file will be older than the current version of Visitor Maps for WordPress. In that case there may be some text that appears in English instead of the set language. See also: How to translate Visitor Maps for WordPress
How to switch the language for Visitor Maps in WordPress:
Set WPLANG inside of wp-config.php to your chosen language. For example, if you wanted to use Italian:
define ('WPLANG', 'it_IT');
Note: there must be a corresponding language files in the plugin folder: /wp-content/plugins/visitor-maps/languages/
For example, if you wanted to use Italian:
Updating a Translation With Poedit:
You should download the free Poedit to translate, because it makes it easier to translate.
Before you start: Download the plugin POT file, look for the link below or find it in the plugin languages folder. Getting the latest one online is recommended. Download the language .pot file for Visitor Maps
Open Poedit and click “File – Open”, select the .po file in your language. To find the .po file for the translation in your language. Look in the plugin languages folder.
The country code is part of the file name. Example for Italian: it_IT. The Italian file of this WordPress plugin is named like this: visitor-maps-it_IT.po
Make sure you first have the current .po file open in Poedit, then Click “Catalog – Update from POT file”. Now all you have to translate are the new language strings that have been added to the plugin since the language file was last translated.
Entries are arranged in a list, so that you can easily navigate large catalogs and immediately get an idea about how big part of the catalog is already translated, what needs translating and which parts are only translated in a “fuzzy” way. Fuzzy and untranslated records are highlighted and displayed at the top of the list. Start at the top of the list and translate each line.
When done translating click Save.
Poedit will automatically save the .mo and .po files needed by this plugin. Be sure to name them like this:
Example for Italian: it_IT.
Copy the language files into the plugin folder:
When you have updated a translation, please make a support ticket and request to submit your language files to be included in the plugin download. Be sure to include your name and your web site URL for the credits.
Send us a Donation: