feat(i18n): add complete Brazilian Portuguese (pt) UI translation catalogs - #1046
Open
kauenet wants to merge 4 commits into
Open
feat(i18n): add complete Brazilian Portuguese (pt) UI translation catalogs#1046kauenet wants to merge 4 commits into
kauenet wants to merge 4 commits into
Conversation
…alogs Adds full pt catalogs for all 3,639 UI strings across the 8 message files, including dashboard-private-channels (not yet covered by fr). Registers the locale in supportedLocales/messagesByLocale, extends the i18n unit tests, and adds the locales.pt terminology block (voice, glossary-driven terminology, forbiddenTerms) to translation-guidance.json so catalog validation enforces the conventions from day one. Terminology follows solanabr/solana-glossary and the established fr precedent: Token, Wallet, mint/burn, allowlist/blocklist, endpoint, API Playground and friends stay in English; generic finance/CS vocabulary uses standard Brazilian Portuguese (ativo, contraparte, transferência, cotação, provedor). Register: você.
|
@kauenet is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Greptile SummaryAdds complete Brazilian Portuguese catalogs and registers
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (4): Last reviewed commit: "Merge branch 'main' into feat/i18n-pt-ca..." | Re-trigger Greptile |
GuiBibeau
approved these changes
Aug 4, 2026
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.
Summary
pt) catalogs for all 3,639 UI strings across the 8 message files — includingdashboard-private-channels.json(272 keys), whichfrdoes not cover yet.ptinsupportedLocales/messagesByLocale; the language picker andAccept-Languageresolution (pt,pt-BR) pick it up automatically.locales.ptterminology block (voice, glossary-driven terminology,forbiddenTerms) to.github/translation-guidance.json, so catalog validation and the Eve release workflow enforce the conventions on every future string.fr).Terminology
frconventions.Token,Wallet,mint/burn,allowlist/blocklist,endpoint,API Playground,Sandbox,stablecoin,on-chain/off-chain,staking, the SPL authority family (Mint/Freeze/Update/Metadata Authority,Permanent Delegate),rent,rails,explorer.ativo,contraparte,transferência,cotação,provedor,custódia,custodiante,decimais.você. Forbidden (regex-enforced):carteira,ficha,ponto de extremidade,cunhar,lista branca/negra.Quality process
en; placeholder tokens byte-identical; zero forbidden-term hits.Policy
Dedicated translation-only PR per
check-catalog-change-policy.mjs— zero English catalog changes.Validation
validateCatalogs(missing keys + placeholder parity + forbidden terms): pt fully validvitest src/i18n/messages.unit.test.ts(inventory parity, typed lookups, fallback): passtsc --noEmit(sdp-web) — catalogs type-checked viasatisfies LocalizedMessages<Messages>: passpnpm test:scripts(catalog policy + release translation tooling): passAccept-Language(pt,pt-BR) resolve topt; landing and dashboard surfaces render translated;en/frunaffected.