๐Ÿ‡ฌ๐Ÿ‡งLanguage Support

This theme is fully translatable to any language. The theme utilizes the {{t}} translate helper for all labels and messages.

Out of the box, it supports ten languages, which are:

  1. Czech (cs)

  2. German (de)

  3. English (en)

  4. Spanish (es)

  5. French (fr)

  6. Hungarian (hu)

  7. Italian (it)

  8. Dutch (nl)

  9. Polish (pl)

  10. Turkish (tr)

You can add your language (if not already supported) by creating a locales file under the 'locales' folder in the theme.

To create the locales json file, use the ISO Language code of the new language you want to add. For e.g. for Portuguese, it will be 'pt.json'.

In 'pt.json' add the translations in key:value pair. For e.g. if we want to translate 'Sign In' to Portuguese, then the content in 'pt.json' locales file would be:

{
    "Sign In":"Entrar"
}

Similarly, you can add all the translations for multiple labels.

Once you create the complete locales JSON file, change your publication language in Settings > General > Publication Language and enter the ISO language code (e.g. 'pt') instead of the default 'en' for English language.

Last updated