How to translate any theme using Loco Translate Plugin
Loco Translate Plugin allows you to translate the theme directly from the WordPress Dashboard and it is quite an easy process. We recommend Loco Translate over POEdit method for translation.
You can follow the steps below to properly install and configure Loco Translate on your website.
Install Loco Translate Plugin via Dashboard → Plugins. Activate the plugin once installed.
Navigate to Dashboard → Loco Translate → Themes and click the theme name you want to translate. In our example, we are going to choose RealHomes Theme.
Click on Create Template to create a new translation template. On the next page, click on Create Template once again.
Go back to the theme page again and click on New language.
Next, you have to set up the language. This step involves choosing the language and selecting the path of the .po file for the language you are choosing.
When you click on the Save button you will be redirected to the translation page where you can start translating all the strings of the theme in this language. But first, click on Sync to synchronize any unidentified strings which were not detected in the initial setup and you are done with this step.
Navigate to Dashboard → Settings → General and then select the language from the drop-down options Site Language which you just set up in the Loco Translate section e.g. French (in our example) and the translation will start showing on the frontend.
You have to click on Sync (on translation page) each time when you update the theme and all the new strings will be synchronized from the updated version of the theme.
You must also translate the required plugin of the theme, for example, if you are using Real Homes Theme then you must translate Easy Real Estate Plugin which is a required plugin and the theme doesn’t work without it. The required plugins for other themes are listed below for each theme so you should know which plugins must be translated to have the translation for each string throughout the theme.
Real Homes Theme: Easy Real Estate Plugin
MedicalPress Theme: MedicalPress Utilities Plugin
Real Places Theme: Inspiry Real Estate Plugin
TourPress Theme: TourPress Pack Plugin, Easy Tours Plugin
BuilderPress Theme: BuilderPress Pack Plugin
Food Recipes Theme: Food Recipes Pack Plugin
RecipePress Theme: Inspiry Recipes Plugin
PoliticalPress Theme: Political Press Pack Plugin
That’s it. Your translation should work fine now.