docusaurus/packages/docusaurus-theme-translations/README.md
Alexey Pyltsyn 63bd6b9025
refactor: define own translations in other themes (#5849)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2021-11-20 16:35:27 +01:00

748 B

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:

yarn workspace @docusaurus/theme-translations update

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