Skip to content

[i18n]: always naviageto init page when language change not the corresponding URL #1253

Closed
@Sepush

Description

@Sepush

Describe the bug

with a config file like this https://github.com/tensorchord/envd-docs/blob/main/docs/.vitepress/config.ts
when we change the language of doc it did not naviagative to corresponding URL

Reproduction

eg.
when we in this page https://envd.tensorchord.ai/zh/guide/build-envd.html
we click the button to change the language
image
we expect it naviagte to https://envd.tensorchord.ai/guide/build-envd.html
not https://envd.tensorchord.ai/guide/getting-started.html

Expected behavior

naviagte to corresponding URL

System Info

win 10 chrome 103

Additional context

I'm not sure whether it been fixed on i18n branch or is there any way I have miss to achive this for now.

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions