docusaurus/packages/docusaurus-theme-translations
Sébastien Lorber 7cf94c03a4
feat(theme): Allow resetting colorMode to System/OS value (#10987)
* make it work

* fix

* Try to fix accessibility issues

* add translations

* rename 'auto' to 'system'

* refactor: apply lint autofix

* rename 'auto' to 'system'

* remove title prop

* typo

* use shorter title

* refactor: apply lint autofix

* document useColorMode tradeoffs + data-attribute variables

---------

Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
Co-authored-by: nasso
Co-authored-by: OzakIOne
2025-03-14 13:45:25 +01:00
..
locales feat(theme): Allow resetting colorMode to System/OS value (#10987) 2025-03-14 13:45:25 +01:00
src refactor: create @docusaurus/bundler and @docusaurus/babel packages (#10511) 2024-09-21 16:35:49 +02:00
.npmignore misc: make copyUntypedFiles work for watch mode (#7445) 2022-05-18 19:18:32 +08:00
package.json chore: release Docusaurus 3.7.0 (#10812) 2025-01-03 18:11:21 +01:00
README.md docs: add missing code block language to README.md (#10952) 2025-02-26 10:15:03 +01:00
tsconfig.build.json chore: simplify TypeScript configs, use TS 5.5 configDir placeholder (#10256) 2024-07-01 17:34:40 +02:00
tsconfig.json chore: simplify TypeScript configs, use TS 5.5 configDir placeholder (#10256) 2024-07-01 17:34:40 +02:00
update.mjs refactor: move PerfLogger from core to @docusaurus/logger (#10480) 2024-09-06 10:58:53 +02:00

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