CYBER MONDAY: Get Lifetime Access to All Themes & Plugins for only $299 - 37/100 Licenses remaining View Details →

Categories

Documentation

Theme Documentation



Plugin Documentation



Resources

How to Translate a WPZOOM Theme using Loco Translate

Need a Multilingual plugin for your website? We recommend Polylang and WPML Plugin. With these plugins you can easily add a language selector, translate posts, pages, menus, widgets and much more.

1. Change the Language of your WordPress Site

change-language-wp

In order to use a localized WordPress theme in a different language, you have to change the language of your WordPress site to the same language in which you plan to translate the theme.

In our case we’ll translate the theme to Romanian (ro_RO), so in the General Settings page I’ll select Română option for Site Language.


2. Download and Install Loco Translate Plugin

Every WPZOOM Theme comes with a .pot file that contains all of the text to be translated.

There are different tools that you can use to translate a theme, but our favorite is Loco Translate plugin, which is very easy to use. Go ahead and install the plugin and after that make sure to activate it.

loco-translate-plugin

3. Add a New Language

The process of translating a theme is much easier in Loco Translate version 1. See here instructions to downgrade the plugin.

screen_shot_2016-11-03_at_11_48_58

Once you have the plugin installed, navigate to the Loco Translate menu in the Dashboard. Find your theme in the list and click on the New language link.

screen_shot_2016-11-03_at_11_49_35

If you get a warning notice like the one from the following screenshot, click Create template, and proceed to the next step.

screen_shot_2016-11-03_at_11_49_52

Now you can create a new language, and from the Choose a language option select the language in which you want to translate the theme, but make sure to select the same language as you did in the 1st step.

In our case this is Romanian language:

screen-shot-2016-11-03-at-11-50-27

4. Start the Translation

screen_shot_2016-11-03_at_11_50_43

After adding a new language in your theme, you’ll be redirected to a page which will display a list of the text that can be translated. You can start the process by highlighting each line, one by one, and enter the translation in the box in the bottom of the page.

Once you’ve finished to translate the text, click the Save button and here the entire process ends. Now your theme will automatically display the translated version.


After translating a theme there are a few things you should be aware of:

Back-up your Translations

Just because the translation files are stored in your theme folder, this means that there is a high probability that these will be deleted if the theme will be updated in the future. So we recommend you to copy the folder /languages/ from your theme and all its files on your computer (via FTP or backing-up entire theme using WP Clone Template plugin).

Handling Theme Updates

If you update your theme to a new version which has an updated language file or other files modified, you’ll need to rescan your theme using the Loco Translate plugin and then translate the new strings. Find your theme in Loco Translate plugin, select the needed language and click the Sync button to have the plugin update the language files.


In case you’re looking for additional tools to translate your theme, make sure to check out:

Poedit
Codestyling Localization

Need a Multilingual plugin for your website? We recommend WPML Plugin. With WPML you can easily add a language selector, translate posts, pages, menus, widgets and much more.
Last updated on November 9, 2017