fix: align translated blog tag permalinks - #876
Open
blackdragoon26 wants to merge 3 commits into
Open
blackdragoon26 wants to merge 3 commits into
blackdragoon26 wants to merge 3 commits into
Conversation
Collaborator
|
Welcome @blackdragoon26! It looks like this is your first PR to kubeedge/website 🎉 |
Keep localized tag labels while reusing existing English tag routes so locale navigation does not land on missing pages. Signed-off-by: blackdragoon26 <sankalp.jha9643@gmail.com>
blackdragoon26
force-pushed
the
fix/translated-blog-tag-permalinks
branch
from
August 14, 2026 09:59
e9ae8f4 to
90c6841
Compare
blackdragoon26
marked this pull request as ready for review
August 14, 2026 10:13
Author
|
@anvithks @kevin-wangzefeng Please review my PR |
Shelley-BaoYue
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for your contributions!
/approve
Collaborator
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Shelley-BaoYue The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Author
|
Pinging for the Merge, Thanks.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue(s) this PR fixes:
Fixes #875
What kind of change does this PR introduce?
Bug fix for localized blog tag routing.
What is the current behavior?
Chinese blog tags use translated labels as route slugs. Docusaurus generates locale-switcher links to tag paths that are not generated in the other locale, returning 404 pages.
What is the new behavior (if this is a feature change)?
Translated labels now reuse the equivalent existing English tag permalinks. The locale switcher stays on valid routes while labels remain localized.
Does this PR introduce a breaking change?
No.
Other information:
Validated with the committed Yarn lockfile and
node_modules/.bin/docusaurus buildfor both en and zh. A generated HTML link audit no longer reports the translated-tag route mismatches covered by this issue. The remaining/zh/blog/tags/kubeedge/page/6pagination mismatch is unrelated and unchanged.