Okay
  Print

How To Translate Theme Using PO Language File?

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

Find houzez.pot file in your theme’s “languages” directory.

Once found, Download the houzez.pot 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 4

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

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

Step 5

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

Upload fr_FR.po and fr_FR.mo to the directory from where you have downloaded the houzez.pot in start.

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