1. Home
  2. Docs
  3. Craft
  4. Translations
  5. How to Use Loco Translate Plugin for Theme Translation

How to Use Loco Translate Plugin for Theme Translation

Loco Translate is a WordPress plugin for translating themes and plugins. It generates a PO file from the POT file then compiles it to MO file on the fly as soon as you start to translate the theme or plugin.

How to Install Loco Translate

1. To install the plugin go to WordPress Admin Menu > Plugins > Add New menu and search for Loco Translate to filter out the plugins list and click on the Install button to install the plugin on your WordPress installation.

2. After the installation is finished you need to click on the Activate button to activate Loco Translate.

How to Translate theme strings using Loco Translate

1. Go to WordPress Admin Menu > Loco Translate > Themes to access the main translation page of the plugin.

2. Select “Craft” in translation theme page and click on the New language link.

3. Select for example German from the dropdown menu then click on Start translating button.

Note: To keep the translation files safe after theme update, select Custom or System from Choose a Location option. If you are using a Child theme, only Custom or System option should be
4. Use the Filter box at the top of the page to search for your desired term. After you find the term click on it to select and it will be shown inside the Source Text box. Add the translation for that term on the German Translation box under the Source Text once you finished translating click on Save button.

How to Translate plugin strings using Loco Translate

1. Go to WordPress Admin Menu > Loco Translate > Plugins to access the main translation page of the plugin.

2. Select “Craft Theme Elements for Elementor” in translation plugin page. Next click on the New language link.

3. Select for example German from the dropdown menu then click on Start translating button.

Note: To keep the translation files safe after theme update, select Custom or System from Choose a Location option. If you are using a Child theme, only Custom or System option should be

4. Use the Filter box at the top of the page to search for your desired term. After you find the term click on it to select and it will be shown inside the Source Text box. Add the translation for that term on the German Translation box under the Source Text once you finished translating click on Save button.


Change Site Language

If your WordPress is already installed in German language, skip this step.

In WordPress Admin Menu > Settings > General change the Site Language to Deutsch and Save Changes.

Translations stopped working after theme update?

If you notice some translations are not working as expected, click on Sync button on the translation edit screen. This option will sync the old translations with new translations.

Tags ,