This page is part of the Tutorials: Internationalization documentation.
Follow the steps below to translate Thesis into your language:
Download the poEdit translation software, and install it on your local computer.
Download this file by right clicking on the link, then choosing save as; when you save the file, remove the
.txtextension from its name.
Note that this file is only compatible with Thesis 2.1.9. If you’re using a different 2.x version, you’ll need to generate your own
thesis.pofile by following these instructions.
In poEdit, open the
From the poEdit menu, select File → Save As, and change the file name to a new one which uses a format of
llis the 2 letter code for your language, and
CCis the 2 letter code for your country.
For example, for US English the file would be named
Translate the strings in the new
Save the file (ctrl-S). Poedit should generate a
.mofile in the same directory as your original
.pofile (named in a similar fashion as in step 4).
.mofile to the
/lib/languagesfolder in your Thesis theme directory on your server.
Configure WordPress to use your language file, by editing
wp-config.phpto include this line replacing
ll_CCwith the appropriate language/country codes):
define ('WPLANG', 'll_CC');
Important: Remember to maintain a backup copy of your
.mo files on your local computer, in the event that you update to a new version of Thesis. Due to the way automatic updates work in WordPress, you’ll need to upload your
.mo file to the
/lib/languages folder again after the update is complete.