You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(i18n): translate missing Portuguese native-chat strings for workers, subagents, and background tasks - #48511
When Orca was set to Portuguese, parts of the chat screen still showed English: the worker panel, background tasks, subagent rows and navigation, queued messages, side chat, and fork notices. This adds the Portuguese text for them. Only the Portuguese translation file changes; app behavior does not.
What Changed
Before: with the Portuguese UI, these rows showed English (1 needs attention, Back to main agent, Running, Side chat, ...). 136 keys under components.native-chat (workerDock, backgroundTasks, subagents, queuedMessages, sideChat, fork, taskList, memoryUpdated, typedBy, workers) existed in en.json but not in pt.json, so i18next fell back to English.
After: the same keys resolve to Portuguese (1 precisa de atenção, Voltar ao agente principal, Executando, Chat paralelo).
Mechanism: 148 new leaves (136 keys plus 12 _many plural forms) in src/renderer/src/i18n/locales/pt.json, each placed after the sibling it follows in en.json. No existing value is changed or removed (the 4 deleted lines are trailing-comma rewrites). Every {{placeholder}} and <tag> matches en.json, and plural suffixes match Intl.PluralRules('pt') (one, many, other).
Wording reuses terms already in pt.json: worker and coordenador as in worker settings, ramificação for fork, Status indisponível, Dispensar, Executando.
Why
Workers, subagents and background tasks appear in most chats that run more than one agent, and they were English blocks on an otherwise Portuguese screen. Filling the catalog gap is the only fix needed; no code path is involved.
Captured by @yohangwak with the native-chat fixtures in the Portuguese UI, main (top) vs this branch (bottom). Text that stays English is fixture data (task titles, agent names) or strings outside this batch.
Light
Dark
Background tasks, opened
Subagent status bar
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
No new tests: this is catalog data only, covered by the existing catalog verifiers, which check placeholders and tags against en.json.
On macOS:
Reproduced with a small i18next script (lng: pt, fallback en): on main, needsAttention (count 1), subagents.backToMain, workerDock.running and sideChat.pill resolve to English; on this branch they resolve to Portuguese.
Structural check: JSON parses; 148 added, 0 removed, 0 existing values changed; every added key exists in en.json with matching placeholders and tags.
pnpm verify:localization-catalog and pnpm verify:localization-catalogs pass. audit-localization-coverage.test.mjs passes (4/4). oxfmt --check pt.json is clean. The changed-code quality gate reports no changed JS/TS.
Performance
None, because only the Portuguese catalog grows, and it is loaded only when Portuguese is selected. pt.json grows by about 8.1 KB (+0.53%); JSON.parse best of 20 is 2.39 ms on main vs 2.34 ms on this branch, the same within noise. No runtime code, polling, I/O or rendering changes.
Risk
Level: Low
Only Portuguese text is added. If a word is off, Portuguese users see that word instead of English. A plain revert backs it out. Open PR #47026 (pt-BR full catalog) overlaps 134 of these leaves, so whichever lands second will need a conflict resolution on these lines.
Review
Cross-platform: text only.
SSH/remote: not affected; remotes do not read renderer catalogs. Mixed client versions are unaffected.
Mobile: not touched; the phone app has its own catalog.
Security: no code, URLs or scripts added.
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Original fix by @yohangwak in #48511 (commit authorship preserved).
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
No actionable comments were generated in the recent review.
Walkthrough
The Portuguese locale adds translations for task progress, background tasks, subagents, queued messages, chat commands, side chats, memory notices, sender attribution, and worker-dock states and controls.
Severity of issue fixed: Low
Merge Risk: Minimal · up to 80cee
This change adds Portuguese translations for chat, worker, and subagent UI strings that previously fell back to English. It has no code-path or performance impact, and the worst realistic outcome is an awkward string. It is safe to merge once CI passes.
Pre-merge checks: 4
Check name
Status
Explanation
Linked Issues check
[#48512] requests Portuguese values for 136 missing components.native-chat keys. The whole-PR diff (merge base c67a5a8 to head 80ceec2) adds only to src/renderer/src/i18n/locales/pt.json, with 148 add…
Out of Scope Changes check
The whole-PR diff changes only src/renderer/src/i18n/locales/pt.json. Every hunk adds Portuguese values under native-chat areas that the linked issue #48512 lists (workerDock, backgroundTasks, subagen…
Title check
The title names the main change: adding missing Portuguese translations for native-chat strings covering workers, subagents, and background tasks. It uses the conventional fix(i18n) prefix. At 104 cha…
Description check
The description follows the template. It has ELI5, What Changed, Why, a linked issue (Fixes #48512), Visual Proof with before/after images, Testing with the checklist, a Performance line ('None, becau…
Full details: Linked Issues check
Explanation
[#48512] requests Portuguese values for 136 missing components.native-chat keys. The whole-PR diff (merge base c67a5a8 to head 80ceec2) adds only to src/renderer/src/i18n/locales/pt.json, with 148 added leaves. Counting per area matches the issue table: workerDock 74 (84 leaves minus 10 _many), backgroundTasks 14, subagents 20 (5 in the first block plus 15 in the second), queuedMessages 3, sideChat 12, fork 3, taskList 1 (progress), memoryUpdated 5, typedBy 3, workers 1. The 136 keys plus 12 _many forms equal 148 leaves. Each plural group has _one, _other and _many, as the issue requires for Portuguese plural forms. The diff shows no changes to existing Portuguese values or to other locales. The diff alone does not show the en.json key set, so exact key-by-key matching against en.json was not checked. The issue's explicit exclusions (connections, sign-in, messages, approvals) are not touched. The requirement is a catalog-value addition, so no coding behavior is required beyond these entries.
Full details: Out of Scope Changes check
Explanation
The whole-PR diff changes only src/renderer/src/i18n/locales/pt.json. Every hunk adds Portuguese values under native-chat areas that the linked issue #48512 lists (workerDock, backgroundTasks, subagents, queuedMessages, sideChat, fork, taskList, memoryUpdated, typedBy, workers). No existing values, English sources or other locales change. The only non-added edits are trailing commas where a new key follows the last entry of an object, which is required for valid JSON. No out-of-scope change was found.
Full details: Title check
Explanation
The title names the main change: adding missing Portuguese translations for native-chat strings covering workers, subagents, and background tasks. It uses the conventional fix(i18n) prefix. At 104 characters it is long, but it stays specific and on topic, and the changeset only touches pt.json.
Full details: Description check
Explanation
The description follows the template. It has ELI5, What Changed, Why, a linked issue (Fixes #48512), Visual Proof with before/after images, Testing with the checklist, a Performance line ('None, because ...'), a Risk section with level Low, and the Review, Notes, and Checklist sections. The AI Disclosure section is left blank, which the template allows for internal contributors and which the author may need to address for outside contributors. The Visual Proof section has before/after images across light and dark themes, and the Testing section lists concrete verification steps on macOS.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: b69fe299-ddba-43da-9747-859474ef2356
Commits
Reviewing files that changed from the base of the PR and between dab5fdc and 80ceec2.
Files selected for processing: 1
src/renderer/src/i18n/locales/pt.json
Files skipped from review as they are similar to previous changes: 1
src/renderer/src/i18n/locales/pt.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
…rs, subagents, and background tasks
The taskList, backgroundTasks, subagents, queuedMessages, fork,
sideChat, memoryUpdated, typedBy, workers, and workerDock rows in the
Portuguese UI fell back to English because their keys were missing
from pt.json. This adds 148 leaves: 136 keys plus 12 `_many` forms.
Each new key sits after the sibling it follows in en.json, and each
`_other` gets a `_many` copy, as elsewhere in pt.json.
Fixesstablyai#48512
nwparker
changed the title
fix(i18n): translate 136 missing Portuguese native-chat strings for workers, subagents, and background tasks
fix(i18n): translate missing Portuguese native-chat strings for workers, subagents, and background tasks
Nov 25, 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
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.
ELI5
When Orca was set to Portuguese, parts of the chat screen still showed English: the worker panel, background tasks, subagent rows and navigation, queued messages, side chat, and fork notices. This adds the Portuguese text for them. Only the Portuguese translation file changes; app behavior does not.
What Changed
1 needs attention,Back to main agent,Running,Side chat, ...). 136 keys undercomponents.native-chat(workerDock,backgroundTasks,subagents,queuedMessages,sideChat,fork,taskList,memoryUpdated,typedBy,workers) existed inen.jsonbut not inpt.json, so i18next fell back to English.1 precisa de atenção,Voltar ao agente principal,Executando,Chat paralelo)._manyplural forms) insrc/renderer/src/i18n/locales/pt.json, each placed after the sibling it follows inen.json. No existing value is changed or removed (the 4 deleted lines are trailing-comma rewrites). Every{{placeholder}}and<tag>matchesen.json, and plural suffixes matchIntl.PluralRules('pt')(one,many,other).Wording reuses terms already in
pt.json:workerandcoordenadoras in worker settings,ramificaçãofor fork,Status indisponível,Dispensar,Executando.Why
Workers, subagents and background tasks appear in most chats that run more than one agent, and they were English blocks on an otherwise Portuguese screen. Filling the catalog gap is the only fix needed; no code path is involved.
Linked Issue
Fixes #48512
Visual Proof
Captured by @yohangwak with the native-chat fixtures in the Portuguese UI,
main(top) vs this branch (bottom). Text that stays English is fixture data (task titles, agent names) or strings outside this batch.Testing
No new tests: this is catalog data only, covered by the existing catalog verifiers, which check placeholders and tags against
en.json.On macOS:
lng: pt, fallbacken): onmain,needsAttention(count 1),subagents.backToMain,workerDock.runningandsideChat.pillresolve to English; on this branch they resolve to Portuguese.en.jsonwith matching placeholders and tags.pnpm verify:localization-catalogandpnpm verify:localization-catalogspass.audit-localization-coverage.test.mjspasses (4/4).oxfmt --check pt.jsonis clean. The changed-code quality gate reports no changed JS/TS.Performance
None, because only the Portuguese catalog grows, and it is loaded only when Portuguese is selected.
pt.jsongrows by about 8.1 KB (+0.53%);JSON.parsebest of 20 is 2.39 ms onmainvs 2.34 ms on this branch, the same within noise. No runtime code, polling, I/O or rendering changes.Risk
Level: Low
Only Portuguese text is added. If a word is off, Portuguese users see that word instead of English. A plain revert backs it out. Open PR #47026 (pt-BR full catalog) overlaps 134 of these leaves, so whichever lands second will need a conflict resolution on these lines.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Original fix by @yohangwak in #48511 (commit authorship preserved).
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)