Skip to content

docs(i18n): de/es/pt-BR translations of common-4xx-errors#286

Merged
Mlaz-code merged 1 commit into
mainfrom
docs/i18n-common-4xx
Jul 12, 2026
Merged

docs(i18n): de/es/pt-BR translations of common-4xx-errors#286
Mlaz-code merged 1 commit into
mainfrom
docs/i18n-common-4xx

Conversation

@Mlaz-code

Copy link
Copy Markdown
Collaborator

Fixes #285.

Adds the three missing locale variants of api-reference/common-4xx-errors (the EN page shipped Jul 8 without translations, leaving those URLs 404) plus the sidebar _meta.js entries (de: Häufige 4xx-Fehler, es: Errores 4xx comunes, pt-BR: Erros 4xx Comuns).

Context: #284 (deployed) already made hreflang/switcher/sitemap emission conditional, so nothing links the 404s anymore; this closes the remaining gap by making the pages exist, restoring 58-page parity per locale. Register matches each locale corpus (de: Sie, es: tú, pt-BR: você). JSON error-body code blocks are verbatim EN since they document literal API responses.

Verified: full npm run build green (sitemap + next build + locale-link fix + pagefind, 232 pages / 4 languages), and all three pages render in out/.

🤖 Generated with Claude Code

…285)

The api-reference/common-4xx-errors page (added Jul 8) existed only in EN,
leaving the three locale URLs 404 and each locale one page short of parity
(57 vs 58). #284 already stopped the hreflang/switcher/sitemap from pointing
at the missing URLs; this adds the translations themselves plus the sidebar
_meta entries. JSON error bodies stay verbatim EN (they document literal API
responses). Full build green: 232 pages / 4 languages indexed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Mlaz-code Mlaz-code merged commit 7f2cfc2 into main Jul 12, 2026
@Mlaz-code Mlaz-code deleted the docs/i18n-common-4xx branch July 12, 2026 15:25
@Mlaz-code

Copy link
Copy Markdown
Collaborator Author

Merge gate (auto-classified): gate=fixes-issue — auto-classified by the gate-log enforcer (14min after merge, no Merge gate: audit comment found). Reviewer agent: please correct if wrong by replying with Merge gate: gate=<correct-word> — <evidence>. The audit log keys on the first such token; your correction overrides this auto-classified guess.

Posted by scripts/gate-log-enforcer.py because instruction-level rules about the gate= template aren't binding (0/N adoption); structural enforcement fills the log either way.

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.

i18n: localized 404s recur, common-4xx-errors missing in de/es/pt-BR (hreflang points at 404s)

1 participant