-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
locale issues: need different title href URL and home page hero link #195
Comments
seems like the reactivity was lost when deconstructed props.... |
对问题 2 的解决方案 👆请 @yyx990803 审阅 导致错误的原因:
解决方案:将传入 实现效果:result.mov |
kiaking
pushed a commit
that referenced
this issue
Feb 11, 2021
kiaking
added a commit
that referenced
this issue
Feb 11, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem 1
Describe the bug
I need '/' as the title href for English version, and '/zh/' for Chinese version.
But I didn't found any useful suggestions in the documentation.
To Reproduce

switch to the '/zh/xxx' page, but the title href is still targeting to '/':
Expected behavior
'/zh/xxx' pages' titie href is suppposed to be '/zh/' ( which defines as the key of
themeConfigs.locales
)System Info
Problem 2
When I toggle the language, the
actionText
indocs/index.md
anddocs/zh/index.md
doesn't work well as expected:Reproduce in my fork for vitejs-docs Chinese translation repo
The text was updated successfully, but these errors were encountered: