Back to Docusaurus

`@docusaurus/theme-translations`

packages/docusaurus-theme-translations/README.md

3.10.1754 B
Original Source

@docusaurus/theme-translations

This package includes default translations for labels (like the pagination "Next" / "Previous") used by official Docusaurus themes.

For Docusaurus users:

Please help us provide exhaustive translations:

  • add new translation by running yarn workspace @docusaurus/theme-translations update %new_lang_code%, then edit generated JSON files
  • double-check existent language.json file for bad or missing translations

For maintainers:

After updating the theme code, you can "synchronize" the translations by running:

bash
yarn workspace @docusaurus/theme-translations update

Then, ask contributors to translate the newly added labels on this issue