Articles

 In this category you will find articles about web design, web development and related topics. Here we also feature inspirational collections, opinions and articles about best practices.

How to Translate Themes and Plugins with Loco Translate Plugin

Category: Articles Written by Minh Giang / June 20, 2018
How to Translate Themes and Plugins with Loco Translate Plugin

When you use a theme or plugin, there are several texts and strings you may like to translate. You can select to edit language files directly or use Poedit or a localization plugin to achieve this requirement.

Meetup - Conference Event WordPress Theme

When you use a theme or plugin, there are several texts and strings you may like to translate. You can select to edit language files directly or use Poedit or a localization plugin to achieve this requirement.

For premium plugin, it is highly recommended to use WPML to translate themes and plugins. In this article, we will give detailed information on how to use a free translation plugin called Loco Translate to translate your content.

As soon as you begin to translate a theme or plugin, Loco Translate generates a PO file from the POT file then compiles it to MO file.

1. How to install Loco Translate

To install this plugin, you navigate to Dashboard > Plugins > Add New. In this screen, you can search for Loco Translate. Click on Install button and Activate button respectively to activate this plugin.

2. How to use Loco Translate

After finishing installation, you will easily find out Loco Translate section on your Dashboard.

loco translate

From here, you can select to translate themes or plugins. For both translation of themes and plugins, you will perform a same way.

Step 1: Select theme/plugin you want to translate

loco translate select theme

Step 2: Add and Configure a New language

In this step, you are able to select your target language to create your new PO file in.

loco translate new language

From Choose a location, you are recommended to select one of two Other locations (not Author) in order to keep the translations files safe after theme update.

Step 3: Search for terms for translation

In the Filter box, you will enter the term you want to translate, after that, click on it to select and this term will appear in the Source Text box. Just add the translation for this term on Translation box. Finally, click on Save button to save your translation.

If you find that some translations are not working correctly, select to synchronize translations by clicking on Sync button on the translation edit screen.

loco translate translation

Step 4: Change Site language

Go to WordPress Dashboard > Settings > General > Change Site Language to your desired language > Save Changes. In case your site is already setup in your desired language, you can skip this step. Now it is time to enjoy fruits of your labor. Go to the frontend and see the translated terms in effect.

loco translate site language

This is the basic usage of Loco Translate plugin for translating themes and plugins. Loco Translate is truly a simple but useful plugin for users to translate content into another language. Give it a try!

Joomla Template

Thank for sharing!

About The Author


Minh Giang

Hello, I am a supporter and blogger in TemPlaza company. I wish I could improve my WordPress knowledge and share more interesting information with others.