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
- From the Translations collection, select the document you want to edit.
- Make your changes
- Set the Document Status to In Translation or Translation Approved as required.
- Click Save.
Related topics
- Configuration – Configuring your site's behaviour through docusaurus.config.ts and more.
- CLI – docStatic command line scripts.
- Creating pages – Creating pages in the CMS.
- Hosted CMS – Using docStatic with cloud-hosted or self-hosted TinaCMS.
- Introduction – docStatic 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 screen – Adding the CMS to an iPad home screen
- Blog – Blogging with docStatic.