Organic Themes is excited to announce the localization of all our themes. Meaning, the themes have been updated to include files for translation to languages other than English. While our themes previously contained the groundwork for localization, they were only partially prepared for translation. Now, translating our themes is a relatively simple process.
Translating the theme to a different language can be accomplished by editing the .po and .mo files included within the theme folder. You can begin the process by following these steps:
How to translate the theme
- Download the program Poedit.
- Using Poedit, open the en_US.po file included within each of our theme folders.
- Translate all text within the file from English to your desired language one line at a time.
- Save the translated file to the languages folder within the theme as 2 file types — .po and .mo.
- Important: Name the files using the proper language and country codes for your translation. For example, es_MX.mo would be the Spanish translation for Mexico.
- Finally, you may need to change the WordPress installation to your matching language. This is accomplished by defining the language in the wp-config.php file using the following code:
define ('WPLANG', 'es_MX');
That’s it! You can begin using the theme in another language!