๐ฌ๐ง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 15 languages, which are:
Czech (cs)
German (de)
English (en)
Spanish (es)
French (fr)
Hindi (hi)
Hungarian (hu)
Italian (it)
Japanese (ja)
Dutch (nl)
Polish (pl)
Portuguese (pt)
Russian (ru)
Turkish (tr)
Chinese (zh)
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:
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