Skip to content

fix(i18n): translate English terms left in 22 Japanese strings - #48105

Merged
nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ja-english-terms
Nov 24, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ja-english-terms

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Japanese, some screens still showed an English word in the middle of a Japanese sentence, even though the rest of the Japanese app already uses a Japanese word for the same thing. For example, the note shown after switching to Chat UI said "Chat UI で開きます" while its own Settings page is titled チャット UI. This PR swaps those leftover English words for the Japanese words the app already uses, in 22 strings.

What Changed

  • Before: 22 values in ja.json kept an English term (Chat UI, Source Control, Pull Request, commit, Cloud VM, worktree, terminal) inside a Japanese sentence, so one feature had two names in the same app.
  • After: each value uses the term ja.json already uses elsewhere for that thing:
English term Japanese term used Values changed
Chat UI チャット UI 5
Source Control ソース管理 4
Pull Request PR 2
commit コミット 5
Cloud VM クラウド VM 4
worktree ワークツリー 1
terminal ターミナル 1
  • Mechanism: only catalog string values in src/renderer/src/i18n/locales/ja.json change. No keys, English source strings, {{placeholders}}, <term> tags, code, or other locales change.

The original PR also renamed bot/bots to ボット in 14 palette and sidebar strings; those were dropped during review, so this lands the 22 remaining values.

Why

Two names for one thing make a Japanese user wonder whether they are two different features. Reusing wording the catalog already uses is the smallest fix: it adds no new translation, and a reviewer can check each replacement against existing catalog entries without reading Japanese fluently.

Linked Issue

Fixes #48106

Visual Proof

The note shown after new agents switch to Chat UI (ChatUiSwitchedCornerNote), rendered in Japanese through a component fixture.

Before (main): "新しい Agent は Chat UI で開きます" / "設定で Chat UI を検索すると…"

Before: Japanese Chat UI note with English "Chat UI"

After (this PR): "新しい Agent はチャット UI で開きます" / "設定でチャット UI を検索すると…"

After: Japanese Chat UI note with チャット UI

Testing

  • I manually tested these changes locally (component fixture render in Japanese, above)

  • Automated tests added/updated, or explained why not below

  • Every added test fails without this change and avoids the test anti-patterns (no tests added)

  • macOS: ja.json parses; verify:localization-catalogs and verify:localization-catalog pass (verified 20,479 ja.json entries, placeholders intact); verify:localization-protected-copy passes; oxfmt --check and ast-grep clean on the changed file.

  • Checked each changed value against its English source string and against the term the rest of ja.json uses.

  • No tests added: AGENTS.md says not to test copy or translations, and only catalog values change.

Performance

None, because only catalog string values change: no code, keys, loading path or bundle split changes, and the file size changes by a few bytes.

Risk

Level: Low

Only Japanese wording in 22 strings changes. If a replacement reads oddly, a Japanese user sees a different Japanese word where an English one used to be. A plain revert backs it out.

Review

Original fix by @yohangwak in #48105 (authorship preserved on the commit). Reviewed value by value against the English source and existing catalog wording.

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.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Japanese locale updates terminology and spacing in strings for pull requests, commits, worktrees, terminals, cloud VMs, source control, and Chat UI. No application logic or public declarations change.

Severity of issue fixed: Low

Merge Risk: Minimal · up to 3d96b

This updates Japanese wording to match terms already used elsewhere in the catalog. It has no runtime or performance impact, and it is safe to merge.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #48106 requires 36 Japanese catalog values in src/renderer/src/i18n/locales/ja.json to replace English terms (Chat UI, bot(s), Source Control, Pull Request, commit, Cloud VM, worktree, terminal)… Provide readable diff evidence of src/renderer/src/i18n/locales/ja.json between the merge base 1c46ba5 and head 3d96bc2, or make the changed blobs available. Confirm that eac…
Out of Scope Changes check Inconclusive The PR description states that only 36 catalog values change, with no keys, code, scripts, or other locales touched. The AI-generated raw summary describes changes to GitHub review, worktree, terminal… Provide readable diff evidence for src/renderer/src/i18n/locales/ja.json between the merge base and head. Confirm that every changed line belongs to one of the 36 listed keys and that no other file changes exist beyond ja.json.
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title uses the conventional fix(i18n) prefix and states the main change: English terms left in 22 Japanese strings are translated. It matches the changeset, which replaces English terms with exist…
Description check Passed The description follows the template closely. It has ELI5, What Changed, Why, Linked Issue (Fixes #48106), Visual Proof with before and after images, Testing with checklist items and verification comm…
Full details: Title check

Explanation

The title uses the conventional fix(i18n) prefix and states the main change: English terms left in 22 Japanese strings are translated. It matches the changeset, which replaces English terms with existing Japanese terms in ja.json. It is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description follows the template closely. It has ELI5, What Changed, Why, Linked Issue (Fixes #48106), Visual Proof with before and after images, Testing with checklist items and verification commands, Performance (None, because ...), Risk with level and revert path, AI Disclosure section, and the upstream boundary checkbox. The Review section and extra notes are additional but not harmful. The Performance line completes the template sentence. Minor gaps: the Testing section says the change was manually tested only through a component fixture, not in the running app, and the Visual Proof section is complete. The Notes and Checklist sections of the template are not reproduced, but the description is mostly complete.

Full details: Linked Issues check

Explanation

Issue #48106 requires 36 Japanese catalog values in src/renderer/src/i18n/locales/ja.json to replace English terms (Chat UI, bot(s), Source Control, Pull Request, commit, Cloud VM, worktree, terminal) with terms the catalog already uses. The PR description lists the 36 before and after values. The changed-file diff could not be read: the repository tool reported that the changed blobs are missing from the checkout. A whole-file read of ja.json at head was truncated at 16000 bytes, so the replacement values could not be checked in the file. The AI-generated raw summary reports +22/-22 changed lines and describes edits to GitHub review, worktree, terminal, Git comparison, and spacing strings. A value change occupies one line, so 36 changed values would need at least 36 changed lines. The summary therefore conflicts with the PR claim of 36 value changes. No coding requirement can be marked as met from the available evidence. Automated verification claims in the PR description were not independently checked.

Resolution

Provide readable diff evidence of src/renderer/src/i18n/locales/ja.json between the merge base 1c46ba5 and head 3d96bc2, or make the changed blobs available. Confirm that each of the 36 listed keys has the stated After value. Reconcile the +22/-22 line count in the summary with the 36 claimed value changes.

Full details: Out of Scope Changes check

Explanation

The PR description states that only 36 catalog values change, with no keys, code, scripts, or other locales touched. The AI-generated raw summary describes changes to GitHub review, worktree, terminal, Git comparison, Cloud VM, source control, Git history, and chat UI strings, and mentions spacing adjustments. Those descriptions match the intended keys in general terms, but the summary's +22/-22 count does not match 36 value changes, and the summary mentions GitHub review and spacing edits that the PR description does not list. Without a readable diff, the tool cannot establish whether any changed line falls outside the 36 listed keys or the requested term swaps. The changed blobs were unavailable, so the diff could not be read.

Resolution

Provide readable diff evidence for src/renderer/src/i18n/locales/ja.json between the merge base and head. Confirm that every changed line belongs to one of the 36 listed keys and that no other file changes exist beyond ja.json.

  • 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: 8a8978ec-24a1-4267-9eee-716da3751231
Commits

Reviewing files that changed from the base of the PR and between c2f22e8 and 3d96bc2.

Files selected for processing: 1

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

  • src/renderer/src/i18n/locales/ja.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.

Replace English leftovers (Chat UI, Source Control, Pull Request,
commit, Cloud VM, worktree, terminal) in ja.json with the Japanese
terms the catalog already uses elsewhere (チャット UI, ソース管理, PR,
コミット, クラウド VM, ワークツリー, ターミナル). Only catalog values change.

Fixes stablyai#48106
@nwparker
nwparker force-pushed the yohangwak/ja-english-terms branch from c2f22e8 to 3d96bc2 Compare November 24, 2026 07:10
@nwparker nwparker changed the title fix(i18n): translate English terms left in 36 Japanese strings fix(i18n): translate English terms left in 22 Japanese strings Nov 24, 2026
@nwparker
nwparker merged commit b2eb325 into stablyai:main Nov 24, 2026
55 of 56 checks passed
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.

[Bug]: Japanese UI: English terms left in 36 strings (Chat UI, bots, Source Control, commit)

2 participants