Categories

Featured templates

WordPress. How to add theme localization (based on Cherry Framework 3.x)

Norman Fisher January 21, 2014
Rating: 5.0/5. From 3 votes.
Please wait...

This tutorial is going to show you how to add theme localization to a WordPress Cherry template.

WordPress. How to add theme localization (based on Cherry Framework)

  1. Go to http://www.poedit.net/download.php  and download Poedit for your system (Wndows/MAC). Poedit is a free, open source and cross-platform gettext catalog (.po file) editor to aid in the process of language localization.

    wordpress_cherry_based_theme_localization_adding_1

  2. Install it on your computer: double click the file and follow the steps it suggests. At the end of the installation, make sure the option Open Poedit After Installation is checked and click Finish.

    wordpress_cherry_based_theme_localization_adding_2

  3. On your FTP there should be the same language files under wp_content/themes/CherryFramework/languages and under wp_content/themes/your_theme/languages for Spanish, Italian, German and Russian. So, if you want to translate (change translations) your site to any of these languages, proceed to step 10 of this tutorial.

  4. If you want to translate it to another language, e.g. Dutch, new files should  be created. There are two ways to do it:

    • The latest version of Cherry  has blank.mo and blank.po files which you can use as samples for creating new language files. Duplicate them or just give them the corresponding  locale names (e.g., nl_NL.mo  and nl_NL.po for Dutch) and copy them from wp_content/themes/CherryFramework/languages to  wp_content/themes/your_theme/languages  on your FTP.

    • Alternatively, under  wp_content/themes/your_theme/languages  on your FTP, you can duplicate a pair of the existing language files and give them the corresponding locale names (e.g., nl_NL.mo  and nl_NL.po for Dutch).

      wordpress_cherry_based_theme_localization_adding_3

  5. Save the two language files on your computer. In Poedit click Open.

    wordpress_cherry_based_theme_localization_adding_4

  6. Navigate to where you saved the language files and open nl_NL.po.

    wordpress_cherry_based_theme_localization_adding_5

  7. Look for the text string you want to translate in the left column called Source Text. You can hit Ctrl + F to look for a specific string of text.

    wordpress_cherry_based_theme_localization_adding_6

  8. Click  the text string to select. It will appear in the Source Text lower column. Change the text in the Translation bottom column.

    wordpress_cherry_based_theme_localization_adding_7

  9. You can translate text both for the front end and back end of your site. When you are done, click Save and upload both files to the wp_content/themes/your_theme/languages  directory on your FTP, replacing the existing files.

  10. Navigate to WordPress Dashboard and open the Settings -> General tab, scroll down and select the corresponding language in the Site Language field, save changes.

  11. Check if the text strings you changed in Poedit are now updated on your site.

    wordpress_cherry_based_theme_localization_adding_8

Feel free to check the detailed video tutorial below:

WordPress. How to add theme localization (based on Cherry Framework)

Top Themes for Wordpress
This entry was posted in WordPress Tutorials and tagged add, Cherry, localization, theme, translate, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket