feat: localize the changelog page - #115
Merged
Merged
Conversation
The nine per-language changelog pages all globbed the single English changelog.md, so /ja/voice/changelog etc. showed an English body under localized chrome. Point each locale page at its own synced changelog.<code>.md (produced in wavekat-voice), falling back to English when the translation hasn't synced yet, and broaden the docs content collection's ignore so the localized siblings aren't published twice under /docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0154EgPH6xMqVkfkGfH8AVVM
Contributor
wavekat-eason
marked this pull request as ready for review
July 4, 2026 09:31
wavekat-eason
pushed a commit
that referenced
this pull request
Jul 4, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.40](wavekat-com-v0.0.39...wavekat-com-v0.0.40) (2026-07-04) ### Features * localize the changelog page ([#115](#115)) ([f0b002c](f0b002c)) * **seo:** sitewide SEO, GEO, and perf fixes ([#113](#113)) ([7accbcf](7accbcf)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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 nine per-language changelog pages all globbed the single English
changelog.md, so/ja/voice/changelog/,/de/…, etc. rendered an English body under localized chrome — the one product surface that wasn't actually internationalized.What's here
src/pages/<slug>/voice/changelog.astronow globs its own locale'schangelog.<code>.md, falling back to the Englishchangelog.mdwhen the translation hasn't synced yet (so a missing locale degrades to English, never a blank page).src/content.config.ts— broadened the docs content-collection ignore to!**/changelog.*.mdso the localized siblings aren't published a second time under/docs.The per-language markdown itself is produced in the private
wavekat-voicerepo (docs/site/changelog.<code>.md) and reaches here through the existing tag-pinnedsync-docs.js— no sync-script change needed (it copies the wholedocs/site/folder).Verification
Isolated
astro buildwith the localized files synced in:/ja/,/de/,/fr/, and the rest render fully translated with 0 English leakage in released sections and verbatim version/date headings; the English page is unchanged.Companion PR
Content + tooling side (the
changelog.<code>.mdfiles, the multi-file release stamper, the parity test):wavekat/wavekat-voice#256. This PR is safe to land before it — the English fallback covers the window before the translations sync.🤖 Generated with Claude Code
https://claude.ai/code/session_0154EgPH6xMqVkfkGfH8AVVM