Statidocs on GitHub
On this page

Internationalization (i18n)

Statidocs provides built-in support for multilingual sites.

Configure i18n

Tell Statidocs about the languages you support by passing locales in the configuraiton (cecil.yml) file:

language: en # default language
  - code: en
    name: English
    locale: en
  - code: fr
    enabled: true # disable with "false"
    name: Français
    locale: fr

Translate pages

Duplicate pages you want to translate by adding language code as suffix, for example:

└─ pages
   └─ docs

Translate templates