feat(i18n): add Portuguese (pt-BR) desktop language support (#40239) - #65064
Open
webtecnica wants to merge 2 commits into
Open
feat(i18n): add Portuguese (pt-BR) desktop language support (#40239)#65064webtecnica wants to merge 2 commits into
webtecnica wants to merge 2 commits into
Conversation
…arch#40239) Adds pt as the 5th desktop locale (after en, zh, zh-hant, ja). - apps/desktop/src/i18n/pt.ts — full Translations interface (copied from en.ts, English values as placeholders for native speaker translation) - types.ts — add 'pt' to Locale union - catalog.ts — import and register pt - languages.ts — add pt option and aliases (pt-BR, pt-PT, português, brasileiro) - languages.test.ts — add pt test cases Translators: replace the English string values in pt.ts with the corresponding Brazilian Portuguese translations.
Contributor
Author
|
@alexander-stack1 — a tradução PT-BR está completa! 🎉 A Resumo:
Se puder dar uma revisada na qualidade das traduções e aprovar, agiliza o merge! ✅ @teknium1 — PT-BR desktop PR ready for review when you have a chance. |
|
Except my coments, everything is ok. |
8 tasks
19 tasks
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
Adds Portuguese (pt-BR) as a fully supported language in the Hermes Desktop app, following the same pattern as the recent Japanese addition (#40219).
Changes
apps/desktop/src/i18n/pt.tsapps/desktop/src/i18n/types.ts'pt'toLocaletypeapps/desktop/src/i18n/catalog.tsptapps/desktop/src/i18n/languages.tsapps/desktop/src/i18n/languages.test.tsTranslation status
pt.tscurrently contains English strings as placeholders (copied fromen.ts). Native Portuguese speakers need to replace the string values with Brazilian Portuguese translations. The wiring, types, and test infrastructure are complete — only translation work remains.Backend PT-BR support already exists (
locales/pt.yaml,agent/i18n.pyhas comprehensive Portuguese aliases). This PR brings the Desktop UI to parity.Related
@alexander-stack1 — the skeleton is ready for translation 🇧🇷