-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Labels
bug
Something isn't working
Comments
seems like the reactivity was lost when deconstructed props.... |
ShenQingchuan
changed the title
locales support different title href URL
locales support different title href URL and home page hero link
Jan 21, 2021
ShenQingchuan
changed the title
locales support different title href URL and home page hero link
locales issues different title href URL and home page hero link
Jan 21, 2021
ShenQingchuan
changed the title
locales issues different title href URL and home page hero link
locale issues: need different title href URL and home page hero link
Jan 21, 2021
对问题 2 的解决方案 👆请 @yyx990803 审阅 导致错误的原因:
解决方案:将传入 实现效果:result.mov |
kiaking
added
bug
Something isn't working
and removed
bug: pending triage
Maybe a bug, waiting for confirmation
labels
Feb 10, 2021
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: