Translate Thesis

This document is deprecated! The information on this page refers to a Thesis version that is now obsolete. Please visit the Thesis Docs for current documentation.

If you’re using Thesis 2.x, see this article instead.

Follow the steps below to translate Thesis 1.x:

  1. Download the poEdit translation software, and install it on your local computer.

  2. Download the thesis.pot file from your server (it’s located in the /lib/languages folder) to your local computer.

  3. In Poedit, from the File menu, select New catalog from POT file…, then choose the thesis.pot you just downloaded.

  4. Save the .pot file as a new file named ll_CC.po, where:

    • ll is the 2 letter code for your language, and

    • CC is the 2 letter code for your country.

    For example, for US English the file would be named en_US.po.

  5. Translate the strings in the new .po file.

  6. Save the file (ctrl-S). Poedit should generate a .mo file in the same directory as your original .po file (named in a similar fashion as in step 4).

  7. Upload the .mo file to the /lib/languages folder in your Thesis theme directory on your server.

  8. Configure WordPress to use your language file, by editing wp-config.php to include this line replacing ll_CC with the appropriate language/country codes):

    define ('WPLANG', 'll_CC');
    

Reference: