Localization

You can change your site main language via Settings > General > Site Language.

Before adding translations for static strings it needs to rename language files correctly according your site languages. Theme language files are located in a ../homepress/languages/ folder. You can find a list of language codes at WordPress in your Languagearrow-up-right. As an example, the language code for English is en_EN, so you would save the translated files as en_EN.po first, then en_EN.mo.

There are several ways to fill up translations. One of them if using PoEditarrow-up-right platform. You can add translation via editing your .po file and at the end PoEdit generates .mo file for you. Then you needs to upload ready translation files to a primordial folder (../homepress/languages/).

Another way is to use a localization plugin like Loco Translate.arrow-up-right

Last updated

Was this helpful?