docs(i18n): de/es/pt-BR translations of common-4xx-errors#286
Merged
Conversation
…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>
Collaborator
Author
|
Merge gate (auto-classified): gate=fixes-issue — auto-classified by the gate-log enforcer (14min after merge, no Posted by |
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.
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