-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[i18n]: always naviageto init page when language change not the corresponding URL #1253
Comments
I think it hasn't started yet, related #631 You can find not only URL router, like navbar text, search text ... We are all looking forward to the feature, maybe we need to complete other features before designing it. The current I18 I use the double site to complete. |
Yeah, its definitely on my priority list. i18n hopefully will be ready for review before next week. But still I don't think we'll be able to cover this use-case initially. There are complexities with this, like many people like to change file name too, not just the |
It's not easy.How about resolve base on the sidebar config? As usually if we have different language docs we also have the different sidebar config. So that we cant get the info of correct path from it. |
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
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
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
The text was updated successfully, but these errors were encountered: