mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 12:07:58 +02:00
* Pluralization test! * Simplify usePluralForm usage with | plural message separator * fix interpolate bug with falsy values like 0 * fix interpolate bug with falsy values like 0 * Order plural forms + allow to not provide the last plural forms if they are not used * fix typo * revert test! * plurals and typo of the SearchPage * update some labels * improve the update-code-translations cli + update translations * pluralize blog reading time label * ensure base.json contains message descriptions: helps the user to provide the translations * remove russian production locale
20 lines
727 B
Markdown
20 lines
727 B
Markdown
# Default theme translations
|
|
|
|
The Docusaurus theme includes default translations for labels used by the theme itself (like the pagination "Next" / "Previous").
|
|
|
|
## For Docusaurus users:
|
|
|
|
Please help us provide exhaustive translations:
|
|
|
|
- add your `language.json` file if it is missing (copy `base.json` and remove the attributes `___DESCRIPTION`)
|
|
- double-check your `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-classic update-code-translations
|
|
```
|
|
|
|
Then, ask contributors to translate the newly added labels on this [issue](https://github.com/facebook/docusaurus/issues/3526)
|