Translating Your Website

To translate the theme do the following:

  1. Download the Poedit program to start translating the theme. While there are other programs that you can use, for the sake of clarity and simplicity for this tutorial we will use Poedit. It’s free and you can download it from here. Then install it. That’s easy too. Just click next. Then … next. Then finish. And you’re done.
  2. Translate the .pot or .mo file that is included in the themes "languages" folder and upload to your theme folder inside of the languages folder. When you save the files, you must name them according to your language code. i.e. for English is en_EN.
  3. Tell WordPress what language to use. if you haven’t done so already, you’ll need to make sure your wp-config.php file matches your language files. For example, if you’re using a French translation, you’ll need to add the fr_FR.po and fr_FR.mo files to your theme folder, then set your language in wp-config.php, like this: define (‘WPLANG’, ‘fr_FR’);
  4. Save your wp-config.php file, upload it to your WordPress installation, and you are ready to go. By the way, your wp-config.php file is located in the main directory where all your core WordPress files are located.

More information regarding translating themes can be found here: http://codex.wordpress.org/Translating_WordPress

Please note: All plugins you are using must also be translated.

Last updated on June 29, 2014