Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated category index page title not translated in pagination link #8118

Open
6 of 7 tasks
neo-sam opened this issue Sep 20, 2022 · 1 comment · May be fixed by #8123
Open
6 of 7 tasks

Generated category index page title not translated in pagination link #8118

neo-sam opened this issue Sep 20, 2022 · 1 comment · May be fixed by #8123
Labels
bug An error in the Docusaurus core causing instability or issues with its execution domain: i18n Related to the i18n system status: accepting pr This issue has been accepted, and we are looking for community contributors to implement this

Comments

@neo-sam
Copy link
Contributor

neo-sam commented Sep 20, 2022

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

The title should be translated into locale language:

<div className="pagination-nav__label">{title}</div>

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.
@neo-sam neo-sam added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Sep 20, 2022
@Josh-Cena
Copy link
Collaborator

Thanks for the issue! This is specifically happening for generated category index pages, because their metadata are not passed through as translated.

@Josh-Cena Josh-Cena changed the title The title of PaginatorNavLink button should be translated Generated category index page title not translated in pagination link Sep 21, 2022
@Josh-Cena Josh-Cena added domain: i18n Related to the i18n system status: accepting pr This issue has been accepted, and we are looking for community contributors to implement this and removed status: needs triage This issue has not been triaged by maintainers labels Sep 21, 2022
@Josh-Cena Josh-Cena linked a pull request Sep 21, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution domain: i18n Related to the i18n system status: accepting pr This issue has been accepted, and we are looking for community contributors to implement this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants