Skip to main content

Translating documents

Translating to an existing locale

Translating page texts

You can translate individual page texts by editing code.json files in the i18n/<locale> directory. To generate missing texts, please use (pl locale as an example):

npm run write-translations -- --locale pl

See official docusaurus tutorial.

Translating documents

Create a doc with the same name and in the appropriate i18n folder, then translate it.

See official docusaurus tutorial.

Adding new language support

important

This section requires improvement. You can help by editing this doc page.

New language has to be added to docusaurus.config.js.

Translating documents

Translating to an existing locale

Translating page texts

You can translate individual page texts by editing code.json files in the i18n/<locale> directory. To generate missing texts, please use (pl locale as an example):

npm run write-translations -- --locale pl

See official docusaurus tutorial.

Translating documents

Create a doc with the same name and in the appropriate i18n folder, then translate it.

See official docusaurus tutorial.

Adding new language support

important

This section requires improvement. You can help by editing this doc page.

New language has to be added to docusaurus.config.js.