docusaurus
docusaurus copied to clipboard
Generated category index page title not translated in pagination link
Have you read the Contributing Guidelines on issues?
- [X] I have read the Contributing Guidelines on issues.
Prerequisites
- [X] I'm using the latest version of Docusaurus.
- [X] I have tried the
npm run clearoryarn clearcommand. - [X] I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - [X] I have tried creating a repro with https://new.docusaurus.io.
- [X] I have read the console error message carefully (if applicable).
Description
The title should be translated into locale language:
https://github.com/facebook/docusaurus/blob/6514f0784bd91bdce5d86be5fb1df338089db9d7/packages/docusaurus-theme-classic/src/theme/PaginatorNavLink/index.tsx#L23
Reproducible demo
No response
Steps to reproduce
see https://docusaurus.io/zh-CN/docs
Expected behavior
At footer, the next page title of next document should be translated into Chinese
Actual behavior
not translated
Your environment
No response
Self-service
- [ ] I'd be willing to fix this bug myself.
Thanks for the issue! This is specifically happening for generated category index pages, because their metadata are not passed through as translated.