Home Forums F.A.Q. Theme Localization

This topic contains 0 replies, has 1 voice, and was last updated by  Stylemix Themes 7 months, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2840

    You can change your site main language via Settings -> General -> Site Language. Theme language files are located in a ../wp-content/themes/theme-folder/languages/ folder.

    There are several ways to fill up translations:

    – It’s easy to localize your site using Loco Translate plugin. Here you can see the tutorial – https://localise.biz/help/wordpress/translate-plugin/beginners.

    – Besides this, you can use a PoEdit platform. You can add translation via editing your .po file and at the end, PoEdit generates .mo file for you. Then you can upload ready translation files to primordial folder (../wp-content/themes/theme-folder/languages/). Before adding translations for static strings it needs to rename language files correctly according to your site languages.  You can find a list of language codes at WordPress in your Language. 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.

    In order to safe your translations during theme updates, we recommend to save them in ../wp-content/languages/themes/ folder.

     

Viewing 1 post (of 1 total)

The forum ‘F.A.Q.’ is closed to new topics and replies.