How to translate the theme to another language?

All our WordPress themes are translation ready which means that you can easily translate them to any language you need. Here are some instructions:

First you need to change your language of WP installation. This can be done by going to Settings -> General, where you can set the Site Language option and save the settings.

Set Language

Next, navigate to the folder of the theme (wp-content/themes/<our theme name, ie. repairpress-pt>/) and in the folder languages/ (of the theme) you will find file <name of the theme>.pot. Load this file (as the catalog) in the PoEdit and start translating.

When done, save the .po file in the same folder as the .pot file (in languagesfolder) and name this file depending on your language or locale. You can find the right naming on this page, just search for your language and then lookup the WordPress Locale column. For example: for German language you would name your file: de_DE.po. The .mo file will be automatically created next to the .po file.

And that’s it, your translations should work now.

VIDEO TUTORIAL IS AVAILABLE ON OUR YOUTUBE CHANNEL!

How to translate widgets in our newer themes?

In our newer themes (CargoPress, LegalPress, RepairPress, StructurePress …) widgets are separated from the theme so you have to translate them separately. So all you have to do is translate the proteuswidgets.pot file, that can be found in wp-content/themes/<our theme name, ie. repairpress-pt>/languages/proteuswidgets/).

Stick to the same instructions as above, but use this pot file instead and place the .po and .mo files in the …/languages/proteuswidgets/ folder (next to the proteuswidgets.pot file).

How to translate the widgets in our MentalPress theme?

In our MentalPress theme, widgets are included as a separate plugin. So you have to translate the wp-content/plugins/proteuswidgets/languages/proteuswidgets.pot) file. Also you have to save the .po and .mo files like: proteuswidgets-<your_local_goes_here>.po. So for example, German translation files would be named: proteuswidgets-de_DE.po and proteuswidgets-de_DE.mo.

When you translate the theme to any new language, you can share the po/mo files with the rest of the community. Don’t be shy, please send us a .po file, we will include it in the next theme update.

By doing so, you get a big THANK YOU from us – we make your name immortal in the wall of fame on the theme item page on ThemeForest, with a link to your profile/blog/website.

If you find this method to complex, you can translate your theme with Loco translate plugin, but you will not be able to translate our widgets on newer themes.

Here is another great tutorial from WPZOOM.

If you placed the translation files directly in the folder <name of the theme>/languages/, they will be lost if you update the theme later on and you will have to put the .po/.mo files again in the same folder after update. Alternative is that you use the child theme.

References: