Skip to content

page next, prev locale label not work(only doc) #10141

@kijung-iM

Description

@kijung-iM

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

Hello,
pagenavigator locale not work on Docusaurus v.3.3.2

only doc is not work

image
"sidebar.javaSidebar.doc.지원 환경": {
  "message": "サポート環境",
  "description": "The label for the doc item 지원 환경 in sidebar javaSidebar, linking to the doc java/supported-spec"
},

but category is work

image
"sidebar.javaSidebar.category.JAVA 모니터링": {
  "message": "JAVAモニタリング",
  "description": "The label for category JAVA 모니터링 in sidebar javaSidebar"
},

Reproducible demo

Our repository is https://github.com/whatap/whatap-docs
Our site: https://docs.whatap.io

Steps to reproduce

This problem occurs when yarn start and yarn build in version v3.3.2.

Expected behavior

Hopefully the page links (prev, next) at the bottom of the screen will apply the correct locale.

Actual behavior

Only when type is doc will you not be able to get the translated value in current.json .

Your environment

  • Public source code:
  • Public site URL:
  • Docusaurus version used:
  • Environment name and version (e.g. Chrome 89, Node.js 16.4):
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executionclosed: duplicateThis issue or pull request already exists in another issue or pull request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions