Repository navigation
feat(i18n): add Brazilian Portuguese (pt-BR) interface language - #2
Merged
Merged
Conversation
Adds a third interface language next to English and Traditional Chinese.
The pt-BR catalog translates the same 448 English source keys as zh-TW,
keeps every {placeholder} intact and is wired through the existing
locale cookie, server action and provider — no new dependency, schema
or worker change.
A `satisfies` check makes a missing pt-BR key a compile error, and a
test pins the pt-BR key set to the zh-TW one so the catalogs cannot
drift apart.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEPFq6M4tCRdtCgXbnRt5a
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.
Cherry-pick of upstream diwenne/openreply#79 by @in100tiva (authorship preserved), so this fork gets the pt-BR interface before upstream merges it.
lib/i18n/pt-BR.json: 448 entries, same keys aszh-TW.jsonlib/i18n/index.ts:catalogsmap instead of the zh-TW ternaryOut of scope (as in upstream): marketing/legal pages, auth emails, worker.
Once upstream merges diwenne#79, syncing the fork makes this commit a no-op.
🤖 Generated with Claude Code