Skip to main content

Internationalization

Internationalization (i18n) support is provided by the static site generator. For detailed information, refer to i18n - Introduction in the Docusaurus documentation.

Heading 1 required for translated sidebar labels

The sidebar's table of contents takes a translated topic's label from its rendered Heading 1 (# Title), not from the title field in the Frontmatter. On an English-only site the Heading 1 is optional—the Frontmatter title is enough—but once you translate a site, give every topic a Heading 1 that's an exact copy of its Frontmatter title. Otherwise that topic's sidebar entry stays in English even after the rest of the page is translated.

Edit translated docs in the CMS

  1. From the Translations collection, select the document you want to edit.
  2. Make your changes
  3. Set the Document Status to In Translation or Translation Approved as required.
  4. Click Save.

Related topics

  • ConfigurationConfiguring your site's behaviour through docusaurus.config.ts and more.
  • CLIdocStatic command line scripts.
  • Creating pagesCreating pages in the CMS.
  • Hosted CMSUsing docStatic with cloud-hosted or self-hosted TinaCMS.
  • IntroductiondocStatic was designed from the ground up to be easily installed and used to get your website up and running quickly.
  • Adding the CMS to an iPad home screenAdding the CMS to an iPad home screen
  • BlogBlogging with docStatic.