Skip to content

Translated sidebar no longer translated once versioned #2266

@arnaud4d

Description

@arnaud4d

🐛 Bug Report

Sidebar is properly translated through i18n folder json files. But a versioned sidebar does not show its existing translations, despites version ids are added to both json files and versioned markdown files.

Have you read the Contributing Guidelines on issues?

yes

To Reproduce

  1. Translate your sidebar using the appropriate i18n folder json files
  2. Create a version using yarn run version
  3. Make sure versioned pages are translated, launch docusaurus and open a versioned translated page

Expected behavior

Sidebar labels and page title are translated

Actual Behavior

Sidebar labels and page title are not translated

Reproducible Demo

You can see the issue on docusaurus website :

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executiondifficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.v1This issue is for Docusaurus 1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions