Repository navigation
Replies: 1 comment
|
Hi! I’d like to offer my help implementing Brazilian Portuguese ( Before starting implementation, I’d like to confirm whether maintainers are interested in this contribution and agree on a manageable initial scope. My proposed first step would include:
I suggest starting with the shared web/desktop interface, with mobile coverage guided by maintainers’ priorities. I can split the work into small, focused PRs to make review easier. I’d also provide focused tests for language selection, persistence, fallback, and translation-key consistency, plus before/after screenshots and a short contribution guide. Would this direction be welcome? If so, what initial scope and localization approach would you prefer? I’m happy to adapt the proposal before implementation. |
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web, apps/desktop, apps/mobile, and shared client runtime where appropriate
Problem or use case
T3 Code currently exposes its user interface in English only across the hosted and locally served web clients, the desktop application, and the iOS and Android applications.
Brazilian Portuguese users must interpret settings, permissions, dialogs, error states, navigation, and agent-specific terminology in a second language. Browser translation is not a reliable workaround for Electron or React Native surfaces and can produce inconsistent translations for dynamic or technical UI text.
There are existing discussions about a minimal i18n foundation for Simplified Chinese in #4082 and #5601, plus the earlier capacity concern in #1463. This request is specifically for Brazilian Portuguese (
pt-BR) and acknowledges that the main cost is not the initial translation but maintaining the localization foundation over time.Proposed solution
Introduce a lightweight localization foundation shared across T3 Code's client surfaces and add Brazilian Portuguese (
pt-BR) as the first requested locale for this contribution.The desired behavior is:
The implementation should follow the repository's preference for the smallest simple system and avoid adding unnecessary runtime, bundle-size, rendering, or WebSocket overhead.
Why this matters
Brazilian Portuguese is the primary language for a large developer community. Native
pt-BRsupport would make T3 Code easier to adopt and operate, especially for settings, permission prompts, error recovery, and mobile workflows.A minimal foundation would also provide a maintainable path for future community-contributed locales without requiring separate forks or hardcoded translations in individual components.
Smallest useful scope
A first accepted version can remain deliberately narrow:
Marketing pages, full documentation translation, provider-generated content, terminal output, uncommon screens, and additional locales can remain out of scope. The implementation can be split into small, reviewable PRs if maintainers prefer.
Alternatives considered
Risks or tradeoffs
These risks can be reduced through English fallback, focused structural checks, a small initial catalog, lazy or static loading where appropriate, and clear ownership of translation updates.
Examples or references
Contribution
All reactions