Translating the auto-generated sidebar labels for categories. #10707
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: duplicate
This issue or pull request already exists in another issue or pull request
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
The labels for documents work fine - the problem is with labels for catgories (folders)
Not sure how to tag this. It is either "Bug", "Feature request" or "Documentation"
In documentation I am not able to find how to translate the labels for auto-generated sidebar documentation menu.
Reproducible demo
No response
Steps to reproduce
_category_.yml
filesnpm run start -- --locale fr
Expected behavior
Expect in sidebar to see the translated labels from category.yml files from i18n folder
Actual behavior
The displayed category labels are from original (not translated) docs folder
Searching through the Discord conversations I have found advice to run
npm run write-translations -- --locale
and place the translations in generated
json
file but searching through a file with thousands of lines seems to bit crazy, hard to believe that it is the recommended wayYour environment
Self-service
The text was updated successfully, but these errors were encountered: