This page is part of the Tutorials: Internationalization documentation.
Follow the steps below to translate Thesis 2.2 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.
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).
Using FTP, navigate to the
/wp-content/thesis/folder on your server, and create a new folder inside of it named
.mofile to the new
/wp-content/thesis/languagesfolder you just created.
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.