Multilingual Basics
The theme ships in English, French, and Arabic, using language.json, i18n files, and content folders. Everything reads the language list from src/config/language.json.
Add A Language
- Run
npm run generate-multilingual-contentwith the new language’s details. Internationalization has the full command. - Translate the new content folders,
src/i18n/<code>.json, andsrc/config/menu.<code>.json. - Restart the dev server.
Hide A Language
- In
src/config/config.toml, update[settings.multilingual].disableLanguages. - Restart the dev server.