PoEdit is a software that you can use to translate themes and plugins to your local language. This is available for Windows, Mac, and Linux users and can be downloaded from poedit.net.
To translate the plugin, do the following:
- Download and install the translations editor “PoEdit”.
- Open your website (if your website is online, use FTP) and create a new folder called “cs-progress-map” inside the directory “wp-content/languages/plugins”.
- Open the translations editor “PoEdit” and create a new translation by clicking on “Create new translation”.
- Locate the file “cspmds.pot” of the plugin. You can find it inside the directory “wp-content/plugins/progress-map-draw-a-search/languages”.
- Choose the language you would want the plugin to be translated into. Once you have your language selected, you can now begin the translation by selecting a text/ligne in top area “Source text” and by manually entering the translation in the area “Translation”.
- Once finished translating the file, save it inside the directory “wp-content/plugins/progress-map-draw-a-search/languages” by clicking on “File / Save as…”.
- Make sure the format of your file is “cspmds-language_code“. For example, if you are translating to spanish, the file format should be “cspmds-es_ES“.
- Click save. Now “PoEdit” will automatically generate .po and .mo files for you.
- Copy/Paste (upload using FTP if your website is online) these two files (for example, “cspmds-es-ES.po” and “cspmds-es_ES.mo”) to the directory “wp-content/languages/plugins/cs-progress-map”.
- That’s it. You’ve successfully translated the plugin.