Skip to content

fix: align translated blog tag permalinks - #876

Open
blackdragoon26 wants to merge 3 commits into
kubeedge:masterfrom
blackdragoon26:fix/translated-blog-tag-permalinks
Open

blackdragoon26 wants to merge 3 commits into
kubeedge:masterfrom
blackdragoon26:fix/translated-blog-tag-permalinks

Conversation

@blackdragoon26

Copy link
Copy Markdown
  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

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 build for 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/6 pagination mismatch is unrelated and unchanged.

@kubeedge-bot kubeedge-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 14, 2026
@kubeedge-bot

Copy link
Copy Markdown
Collaborator

Welcome @blackdragoon26! It looks like this is your first PR to kubeedge/website 🎉

@kubeedge-bot kubeedge-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 14, 2026
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
blackdragoon26 force-pushed the fix/translated-blog-tag-permalinks branch from e9ae8f4 to 90c6841 Compare August 14, 2026 09:59
@blackdragoon26
blackdragoon26 marked this pull request as ready for review August 14, 2026 10:13
@kubeedge-bot kubeedge-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 14, 2026
@blackdragoon26

Copy link
Copy Markdown
Author

@anvithks @kevin-wangzefeng Please review my PR

@Shelley-BaoYue Shelley-BaoYue left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contributions!
/approve

@kubeedge-bot

Copy link
Copy Markdown
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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 31, 2026
@blackdragoon26

Copy link
Copy Markdown
Author

Pinging for the Merge, Thanks.

Thanks for your contributions! /approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Chinese blog tag locale links lead to 404 pages

3 participants