Skip to content

Broken links when changing language #3746

@sirinoks

Description

@sirinoks

When changing language to a different one in Overview page, it says "page not found". It used to work at some point, but likely, when we added more translations, something broke.

image

Location

In \src\web\docusaurus

URL:
/docs/overview

To run Docusaurus:

  • cd src\web\docusaurus
  • npm install
  • npm run start
  • Click 'Docs' button top left corner

And try different locale options, such as

  • npm run start -- --locale uk

You can find different language options in src\web\docusaurus\docusaurus.config.js.
Specifically - locales: ['en', 'vi', 'uk', 'zh', 'bg'],

To reproduce

Click around in
image
And change the

  • npm run start -- --locale
    languages and see how these links don't lead to each others' appropriate page.

image

Possible fixes

Look into placement of languages src\web\docusaurus\docusaurus.config.js, it might be broken because of positioning mismatch.
Also look into each of src\web\docusaurus\i18n folders for each language.

---
sidebar_position: X
---

mismatch could have also caused this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions