How to translate your theme to your language

Please follow these steps to translate a theme to your language.

Step 1

Install WordPress in your language. OR Change the language in the admin settings screen. Settings > General > Site Language

Step 2

Download and install poedit.

Step 3

Look for default.po file in your theme’s root directory, If it is not there then look for it in the ‘languages’. directory.

Step 4

Download the default.po and rename it to your language code for example fr_FR.po for french. Complete lists of codes can be found at (country codes) and (language codes).

Step 5

Start translating fr_FR.po in poedit software from English to French.

You do not need to translate everything, instead look for the sentences or words that you really need to translate and leave the others as it is.

Step 6

Save the fr_FR.po file in poedit and it will create a new file named with in the same directory as fr_FR.po file in your computer.

Step 7

Upload fr_FR.po & to the directory from where you have downloaded the default.po in start.

For Child Theme

If your child theme already have languages directory then upload the translated po and mo files to child theme’s languages directory instead of parent theme.


Add the code in following gist to your child theme’s functions.php and replace the framework‘ domain with domain used in your theme. You also need to create a directory named ‘languages’ and upload translated po and mo files to this newly created directory.

That’s it. Your translation should work fine now.

In case you need any further assistance, Simply got to forum related to your theme and create a new topic for your question.