docs: fix locale-mismatched Quickstart links in 3 introduction pages#405
Open
Jeff-Kazzee wants to merge 1 commit into
Open
docs: fix locale-mismatched Quickstart links in 3 introduction pages#405Jeff-Kazzee wants to merge 1 commit into
Jeff-Kazzee wants to merge 1 commit into
Conversation
The Indonesian (id), Persian (fa), and Traditional Chinese (zh-tw) Introduction pages linked readers to the English Quickstart instead of the locale-matched Quickstart. All three locales already have full, current Quickstart pages.
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.
The Introduction pages for Indonesian (
id), Persian (fa), and Traditional Chinese (zh-tw) currently link readers to the English Quickstart instead of their own locale's Quickstart.All three locales already have full, current Quickstart pages (id: 2493 bytes / fa: 3146 bytes / zh-tw: 2411 bytes — each fully translated, referencing Go 1.25). The link target just wasn't updated when those Quickstart pages were authored.
Source evidence
In the markdown source at HEAD of
master, the link target in each affected file washttps://gin-gonic.com/en/docs/quickstart/:Per-locale link table (after this PR)
All 12 locale Introduction pages now link to their own locale's Quickstart:
engin-gonic.com/en/docs/quickstart/esgin-gonic.com/es/docs/quickstart/ptgin-gonic.com/pt/docs/quickstart/ko-krgin-gonic.com/ko-kr/docs/quickstart/zh-cngin-gonic.com/zh-cn/docs/quickstart/rugin-gonic.com/ru/docs/quickstart/jagin-gonic.com/ja/docs/quickstart/argin-gonic.com/ar/docs/quickstart/trgin-gonic.com/tr/docs/quickstart/idgin-gonic.com/id/docs/quickstart/← fixedfagin-gonic.com/fa/docs/quickstart/← fixedzh-twgin-gonic.com/zh-tw/docs/quickstart/← fixedStyle convention
Preserves the existing absolute-URL pattern used in the 9 already-correct locale Introduction files. Matches the convention applied in the upstream fix for
gin-gonic/gin#4214.Why this isn't an intentional fallback
The locale Quickstart pages already existed at or before the affected Introduction pages' current upstream versions:
idd0b8ed1on 2026-04-024ef9b72on 2026-04-29fa8a61f8aon 2026-03-148a61f8aon 2026-03-14zh-tw8a61f8aon 2026-03-148a61f8aon 2026-03-14So these were not English fallbacks waiting for missing locale Quickstart pages. The target pages were already present.
Repro from source
master.grep -nE 'gin-gonic\.com/[a-z-]+/docs/quickstart' src/content/docs/<locale>/docs/introduction/index.mdfor each locale.id,fa, andzh-twmatched/en/docs/quickstart/; all others self-match.Diff
3 lines, 3 files — one URL substitution per file.
AI assistance
This change was drafted with AI assistance. Verification (per-locale link table, target-file existence checks, commit-date analysis) was reproduced on a clean clone of
master. No open PR addresses these files.