For Owen Theme
This page will help you set up multiple languages for Owen theme
Last updated
This page will help you set up multiple languages for Owen theme
Last updated
Edit app/data/countries.ts then add all languages that your store supported:
For example:
Create translation files in app/assets/locales/{language-code}/common.json to add translate text. For example:
Update languages.config.ts from root folder of Owen theme to setup all languages for your store:
Import all languages you have created in Step 2.
defaultLng: default language code. Ex 'en'
supportedLngs: all languages code used in your store.
lngResources: list of translation file you have created in Step2.
Update or add new country flag in public/flag/{language-code}.svg
You have completed setting up all languages for the Owen theme.