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

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.

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

Go to WordPress Admin Menu > Loco Translate > Themes to access the main translation page of the plugin. Select “Photography” in translation theme page.

Next click on the New language link.

Select language you want to translate to ex. 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
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

Go to WordPress Admin Menu > Loco Translate > Plugins to access the main translation page of the plugin. Select “Photography Custom Post Type” in translation plugin page.

Next click on the New language link.

Select language you want to translate to ex. 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

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.