Translating Themes

Themify allows you to translate each theme into different languages without having to edit the template files. It can be translated with the free Poedit software or translation plugins such as Loco Translate. You can also purchase the premium WPML plugin, if you need more advanced features such as translating custom types, taxonomy, and menus.

Translating with Poedit

If you don't have the Poedit software, download and install it first.

Step 1: creating a new catalog:

Start Poedit and go to File > New catalog...

In the Translation properties tab, set the project name and version. You can dismiss most options, but if you want, set your target language in the Language field.


Click on the Sources paths tab, then 0n the New Item button highlighted in the image. It will create a new entry in the list below. Type two dots (..) as shown.


Go to the Sources keywords tab, for each of the following strings, click on New Item and type the characters indicated:

  • __
  • _e
  • _n:1,2
  • _x

Note: "__" string is composed of two underscore characters

poedit sources keywords

Finally click OK and save it in the languages sub-folder in your theme folder. Name the file after your language locale. For example, name it fr_FR for French, es_ES for spanish, pt_BR for brazilian portuguese and so on (read this list for more codes).

Step 2: Translating strings:

After saving, Poedit will pickup all strings available for translation. When it's done, you should see a list of strings (in English) used in the theme. Go through the list and enter the translation text in the lower box. When you are done, click File > Save and Poedit will generate a .mo file (eg. automatically on save. If you don't see the .mo file, go to Poedit > Preferences, under the "Editor" tab, check "Automatically compile .mo file on save".


Step 3: Upload the PO and MO File (if you were working locally)

If you were working on a local test server, you'll have to upload the .po and .mo file (generated from Poedit) to the "theme/languages" folder through FTP.

Translating with Loco Translate plugin

  1. Install Loco Translate plugin
  2. Go to Loco Translate then in the list of themes find the desired theme name. And click on "+ New Language
  3. Select the language from the list or just enter "en_US" in the small field and click "Start Translating". Let's assume that you have chosen "en_US".
  4. Now you will see a list of words. You can either scroll to find your word to translate or use the "Filter translation" search option and type in the word you are looking for. Once you select your word enter it's translation in the "Translation" field.
  5. Click on "Save"
  6. Click on "Sync".
  7. Then go to Settings > General under "Site Language" option to select the language.

When you go back to Loco Translate to do more translations just click on the language you are editing as shown on this screenshot:

loco translate

Translating with the WPML plugin

The WMPL plugin is a popular WordPress translator that allows your site visitors to choose which language they would like to view on your site.

  1. Install WPML plugin
  2. Once enabled, go to the Multilingual Widget on your Admin Dashboard. This will give you access to different functions in WPML.
  3. Here's a detailed documentation if you would like to translate using String Translation.
  4. If you would like an in-depth tutorial on how to translate your site content using the WPML plugin, go to their getting started documentation. The documentation provides screenshots and demo video that'll help you use the plugin.

Display posts on a map with the new PTB Map View. Get the PTB Bundle 50% off with code: PTB50