Skip to content

fix(i18n): translate the missing Simplified Chinese desktop and phone strings - #50430

Merged
nwparker merged 3 commits into
stablyai:mainfrom
x-Ai:fix/i18n-zh-missing
Nov 27, 2026
Merged

nwparker merged 3 commits into
stablyai:mainfrom
x-Ai:fix/i18n-zh-missing

Conversation

@x-Ai

@x-Ai x-Ai commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Some newer Orca screens were added without Simplified Chinese text, so people using Chinese still saw English there. This PR adds the missing Chinese text for the desktop app and the phone app. English and the other languages stay the same.

What Changed

  • Before: with the UI set to Simplified Chinese, some newer screens still showed English. On desktop that was the browser annotate palette, the grab-failure and cookie-import toasts, browser extension errors, the Browser Use team notice, and some settings and chat text. On the phone it was the MCP servers, bots, chat, browser, and automation screens.
  • After: these screens show Simplified Chinese.
  • Mechanism: this only changes catalog data. It adds the missing zh values to src/renderer/src/i18n/locales/zh.json (62 desktop strings) and mobile/src/i18n/locales/zh.json (300 phone strings). A few existing zh values for the same strings were reworded: quote style, the palette position labels, page-load wording, and "already open on the other computer" for the browser session notice. No code, keys or placeholders change.
  • Coverage: desktop zh goes from 24643 to 24705 of 25080 strings. Phone zh goes from 6657 to 6957 of 6957, so the phone app is now fully translated.

Why

These screens were built after the last zh pass, so they fell back to English. The new values use the words the catalog already uses (注释 / 抓取 / 绘制 / 标注, 请求头, MCP 服务器, 账户) and its existing conventions: no trailing 。, ASCII quotes, and 你.

Linked Issue

Refs #32207. This is part of the localization work, and other locales are still in progress.

Visual Proof

Simplified Chinese, rendered through component fixtures by @x-Ai (headless Chrome, zh-CN, light, 2x). Left is main, right is this branch. Maintainer follow-up commits only reworded a few strings, so these renders still show the change.

Screen Before (main) After (this PR)
Browser › annotate palette annotate palette on main annotate palette with this PR
Browser › cookie import banner cookie import banner on main cookie import banner with this PR

Testing

  • pnpm verify:localization-catalogs and pnpm verify:localization-catalog pass. Placeholders and keys match English, and desktop zh is at 24705/25080.

  • pnpm verify:mobile-localization passes: phone zh is at 6957/6957, with 7386 call sites verified.

  • pnpm verify:localization-protected-copy passes.

  • oxfmt --check passes on both catalogs, and both files parse as valid JSON.

  • I squashed the branch onto current main and checked that the changed lines match the reviewed diff exactly.

  • Platforms: this is catalog data only, so it is the same on macOS, Linux, Windows and SSH.

  • 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 change only edits catalog values, and the localization verifiers above already check keys, placeholders and coverage.

Performance

None. Only catalog strings change, and nothing new runs, polls, or touches disk or IPC. The desktop zh catalog grows by about 3 KB (0.2% of 1.59 MB) and the phone one by about 15 KB (to 407 KB). The median JSON.parse time, measured over 200 interleaved runs, did not change: desktop went from 3.18 ms to 3.09 ms and phone from 0.82 ms to 0.76 ms.

Risk

Level: Low

  • Only zh values change. English and the other locales are untouched.
  • To back it out, do a plain revert.

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

Original fix by @x-Ai in #50430. Authorship is kept on the commit, and the maintainer follow-up wording fixes were squashed in.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The mobile and renderer Chinese locale files gain translations for browser controls, chat and worker statuses, account connections, MCP server management, automation, and related interface messages. The changes update translation strings only; they do not change application logic or public declarations.

Merge Risk: Minimal · up to bd247

This PR fills in missing Simplified Chinese text for desktop and phone screens that previously fell back to English. It changes only translation strings and no application logic, so the risk of merging is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: it adds missing Simplified Chinese translations for newer desktop and phone strings. The changeset adds zh catalog values to both zh.json files, which matches the title. Th…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the repository template and fills in every required section: ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Refs #32207), Visual Proof (before/after render…
Full details: Title check

Explanation

The title names the change: it adds missing Simplified Chinese translations for newer desktop and phone strings. The changeset adds zh catalog values to both zh.json files, which matches the title. The title's 'fix(i18n)' prefix is a conventional-commit form, and the scope is accurate.

Full details: Description check

Explanation

The description follows the repository template and fills in every required section: ELI5, What Changed (before/after and mechanism), Why, Linked Issue (Refs #32207), Visual Proof (before/after renders), Testing with verifier results, Performance with a concrete reason, Risk with level Low and a revert plan, and the Agent skill upstream boundary checkbox. The Linked Issue uses 'Refs' rather than 'Fixes', and the template says 'Refs' is not sufficient for outside contributors. That is a gap, but the remaining sections are complete, so the check passes overall.

  • 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5ee16d2f-6a78-45ef-93f1-76ab35c110c4
Commits

Reviewing files that changed from the base of the PR and between 95fd287 and bd247af.

Files selected for processing: 2

  • mobile/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/zh.json
Files skipped from review as they are similar to previous changes: 2

  • mobile/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

Translate the desktop and mobile strings that had no zh value yet
(browser annotate palette, grab and cookie-import toasts, browser
extension errors, Browser Use team notice, phone MCP servers, bots,
chat, browser and automation screens). Existing zh values are kept
as main has them, apart from small wording tidy-ups on the same keys.

Refs stablyai#32207

Co-authored-by: Neil <[email protected]>
@nwparker
nwparker force-pushed the fix/i18n-zh-missing branch from 4d13c71 to 95fd287 Compare November 27, 2026 06:23
@nwparker nwparker changed the title fix(i18n): add the Simplified Chinese strings still shown in English fix(i18n): translate the missing Simplified Chinese desktop and phone strings Nov 27, 2026
x-Ai added 2 commits November 27, 2026 14:40
Per-key merge of the phone zh catalog: the seven values corrected upstream sit
next to this branch's added lines, and both sets are kept as written.
Added upstream after this branch was cut. It uses the catalog's 话题 for
thread and the wording of the neighbouring host-update notices.
@x-Ai

x-Ai commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

@nwparker Thank you so much for stepping in and editing this branch yourself. Squashing it onto main and tidying the wording (页面未能加载, 已在 {{device}} 上打开, the curly quotes) made it better than what I sent.

It is up to date with main with no conflicts, pnpm check:changed passes on my side, and the checks are green. One note for transparency: on top of your commit I added a merge of main and one small separate commit that translates the new rename-thread notice, so it is easy to drop if you would rather not have it.

When you have a moment, could you merge this one? With it every string in the zh catalogs has a Chinese value (only the _one plural forms, which Chinese never uses, stay English). Together with #50431, #50433 and #50434 that you already merged, and #50432, the Chinese UI becomes complete and consistent, which is a real milestone for it. Thank you again!

@nwparker
nwparker merged commit d2efe67 into stablyai:main Nov 27, 2026
58 of 59 checks passed
Tradersway pushed a commit to Tradersway/orca that referenced this pull request Nov 30, 2026
…ttlement

Pinned OMB patch layer. base: d2efe67 (stablyai/orca stablyai#50430).
Patch artifact sha256: b3697584ac76ea185c5d6f5d06e32d1d2e94e2aa46282e6b7d8d365c05384de7.
Validated as artifactVersion 1.4.214 (OMB smoke: approval RPC 1, boundary exec 1, residual 0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants