How to Translate a WPZOOM Theme using Loco Translate
1. Change the Language of your WordPress Site
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.
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.
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.
If you get a warning notice like the one from the following screenshot, click Create template, and proceed to the next step.
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:
4. Start the Translation
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: