Translate the Theme

Marketplace Forums Themes Tempo Translate the Theme


This topic contains 0 replies, has 1 voice, and was last updated by  mythemes 4 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #3503


    The theme is Translation Ready but not contain the translated files for each language.

    Is need to translate the english file to your languge.

    Ho to do this ?

    Firstly you’ll need a tool allowing you to translate .po file into your language.

    You can use Poedit application, or CodeStyling WordPress Plugin.

    1. Unzip the archive you must have folder treeson with theme files.
    2. Go to treeson/media/ln/ here you can see file en_US.po. Now here create new file, for example fr_FR.po and copy content from en_US.po to fr_FR.po ( to copy content use sample text editor ).
    3. Open fr_FR.po ( using poeditor ) and start translating each word to your language.
    4. After you finished, click button Save Catalog, and it will create a new .mo file in the same folder.
    5. Then you’ll need to open wp-config.php file from the root folder of your WordPress install, and replace this line:

      define ('WPLANG', '');

      with something like:

      define ('WPLANG', 'fr_FR');
    6. Then make sure that .mo file from treeson_/media/ln/ folder of our theme has the same name as your language code: “”

    IMPORTANT: Is need by one .po file for each language, in case you want to use multi languages plugins.

    More information you can find here:

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.