Translating MEC

Translating with Poedit

There are several translation tools available, such as GlotPressLaunchpad 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:

support@webnus.net

 

 

 

 

6 Comments
Avatar for admin
Silvio July 9, 2019
| |

How can i translate the plug-in "mec-single-builder"? What's the correct filename?I tried with "mec-single-builder-de_DE.po" but it doesnt works!

Avatar for admin
Andrejs Zavaruhins June 28, 2019
| |

Where is the POT file located?  

Avatar for admin
Aline Silva June 25, 2019
| |

I can not translate to Portuguese