Using Poedit

There are a few different options for translating WordPress, as outlined in the WordPress Codex. For this tutorial, we’re going to use Poedit, an easy-to-use open-source program available for Mac OS X, Windows, and UNIX/Linux.

  1. Install Poedit.
  2. Open Poedit and go to File > New catalog from POT file. Select the POT file in the languages folder of the theme/plugin. For example, to translate the Savior theme, select the file savior/languages/savior.pot.
  3. A catalog properties box will pop up asking for information about what you are translating. Enter the language you want to translate here. For example, enter “Spanish.”
  4. After you hit the OK button, you’ll be asked what you want to name your translation file. The name is important and there’s a particular format you will need to follow. Check out the GNU `gettext’ utilities to find your language and country codes. For example, if you’re translating the Savior theme into Spanish for Spain, the file should be named savior-es_ES.po.
  5. Save your file in the global languages folder to ensure it stays intact during updates.
  6. Now you can start translating your theme. Poedit has a simple and straightforward interface that doesn’t involve a steep learning curve. The space at the top will display all the text ready to translate, and any completed translations will display to the right. The boxes underneath show the source text you’ve selected to translate, your translation, and any notes for translators.