Skip to content

feat: localize the changelog page - #115

Merged
wavekat-eason merged 1 commit into
mainfrom
feat/i18n-changelog
Jul 4, 2026
Merged

feat: localize the changelog page#115
wavekat-eason merged 1 commit into
mainfrom
feat/i18n-changelog

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

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

  • Each src/pages/<slug>/voice/changelog.astro now globs its own locale's changelog.<code>.md, falling back to the English changelog.md when 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.*.md so the localized siblings aren't published a second time under /docs.

The per-language markdown itself is produced in the private wavekat-voice repo (docs/site/changelog.<code>.md) and reaches here through the existing tag-pinned sync-docs.js — no sync-script change needed (it copies the whole docs/site/ folder).

Verification

Isolated astro build with 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>.md files, 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

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
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@wavekat-eason
wavekat-eason marked this pull request as ready for review July 4, 2026 09:31
@wavekat-eason
wavekat-eason merged commit f0b002c into main Jul 4, 2026
2 checks passed
@wavekat-eason
wavekat-eason deleted the feat/i18n-changelog branch 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant