Translating with Poedit
There are several translation tools available, such as GlotPress, Launchpad and Pootle, but we’re going to use Poedit. Poedit is a free, easy-to-use, and open source program for Mac, Windows, and UNIX/Linux for editing PO files and generating MO files.
1. Install Poedit.
2. Open Poedit and go to File > New Catalog from POT file.
3. A catalog properties box will open asking for information about what you are translating. Enter the language you want to translate here; along with any other required details.
4. After you hit OK, you’ll be asked to name your translation file. The name is important because there’s a particular format you should follow for consistency. For example, if you’re translating Chinese to French, the file should be named “mec-fr_FR.po” (mec for MEC plugin, fr for the language, and FR for the country.)
Now, you need to save your file in the languages folder of your plugin.
5. Now we can start translating MEC. Poedit provides a simple and straightforward interface that does not involve a steep learning curve. On top, you will see the translatable file. Below it, there is a table where the source text is on the left and the target text on the right.
6. When you’ve finished translating, simply save your file. Poedit will automatically create both .po and .mo files in your plugin’s language folder.
7. Now that MEC is translated, you can upload it (of course, first you need to zip it again). You can either use FTP to upload the file or log in to your WordPress and upload by going to Plugins > Add Plugin.
You can send your .po and .mo files to our support email address so that we can update our database to help other users with your language: