Skip to content
Type something to search...
Folex Theme Documentation

Multilingual Basics

The theme supports multiple languages using language.json, i18n files, and content folders.

Add A Language

  1. Update src/config/language.json with the new language.
  2. Copy src/i18n/en.json to src/i18n/<code>.json and translate it.
  3. Copy src/config/menu.en.json to src/config/menu.<code>.json and translate it.
  4. Create content folders like src/content/sections/<language>/.
  5. Restart the dev server.

Hide A Language

  1. In src/config/config.toml, update [settings.multilingual].disableLanguages.
  2. Restart the dev server.