Orchid
HomeBuy Themes
  • ๐ŸŒธIntroduction
  • ๐Ÿ’ฏPerformance
  • ๐ŸคนTHEME SET UP
    • ๐ŸšœTheme Installation
    • ๐Ÿ›ฃ๏ธUpload routes.yaml
  • ๐ŸŽจTHEME CUSTOMIZATION
    • โš™๏ธConfiguration & Settings
      • ๐Ÿ…ฐ๏ธBrand Settings
      • ๐Ÿ“ฐSite-wide Settings
      • ๐Ÿ Homepage Settings
      • ๐Ÿ—ž๏ธPost Settings
  • ๐Ÿ’ธMEMBERSHIP
    • ๐Ÿค‘Membership
    • โœจCustomizing Portal
    • ๐Ÿ’ฌComments
    • ๐ŸšชMembers-only (Gated) Content
  • ๐ŸŒINTERNATIONALIZATION
    • ๐Ÿ‡ฌ๐Ÿ‡งLanguage Support
Powered by GitBook
On this page

Was this helpful?

  1. INTERNATIONALIZATION

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:

  1. Czech (cs)

  2. German (de)

  3. English (en)

  4. Spanish (es)

  5. French (fr)

  6. Hindi (hi)

  7. Hungarian (hu)

  8. Italian (it)

  9. Japanese (ja)

  10. Dutch (nl)

  11. Polish (pl)

  12. Portuguese (pt)

  13. Russian (ru)

  14. Turkish (tr)

  15. 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:

{
    "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.

PreviousMembers-only (Gated) Content

Last updated 2 years ago

Was this helpful?

๐ŸŒ
๐Ÿ‡ฌ๐Ÿ‡ง