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 2,185 missing Japanese desktop strings for Bots and recent features - #51390
With Orca set to 日本語, the desktop app still showed English inside the Bots screens and other recent features. This PR adds Japanese for those 2,185 strings, so those screens read fully in Japanese.
What Changed
Before: 2,185 keys in en.json had no value in src/renderer/src/i18n/locales/ja.json, so i18next fell back to English inside otherwise Japanese screens: bot connections (webhooks, Composio, Google, Slack, GitHub, Linear, apps), the Bots screens (list, items, chats, new bot, import, activity), bot sharing, access, groups and hosts, Settings → Bots (tools, memory, skills, look-around, tidy-up), automation bot targets and events, the browser annotate palette, toolbar and cookie import, feature tips, and a few other recent strings.
After: each of those keys has a Japanese value. Wording reuses the terms ja.json and the phone catalog (mobile/src/i18n/locales/ja.json) already use. In running text a bot is 「ボット」. Product names (Orca, Slack, Google, GitHub, Linear, Composio, MCP), code and file names stay as written.
Mechanism: 2,185 new leaves in ja.json. No existing value changes, and no English string, code or other locale changes. The 39 removed diff lines only gain a trailing comma. A review pass also fixed the Google Admin console path, counted people with 人, reworded the link and reconnect notices, and matched the date filter and tidy-up spacing to the rest of the catalog.
Why
These strings sit inside Japanese screens, so each English line stands out. Adding values to the existing catalog is the whole fix; the runtime already loads ja.json when Japanese is selected.
Bot template and skill strings (bots.templates, bots.templateSkills) are out of scope here and left to #47391.
N/A: catalog text only, with no layout or code change. Sample values, en.json (what main shows today as the fallback) next to this PR's ja.json:
Key
main (English fallback)
This PR
sidebar.botsSplit.resize
Resize bots and projects
ボットとプロジェクトの表示領域の高さを調整
settings.bots.fileChangedOnDisk
{{file}} changed on disk.
{{file}} がディスク上で変更されました。
automations.botTarget.chat
{{name}}'s Chat
{{name}} のチャット
bots.row.deleteTitle
Delete {{name}}?
{{name}} を削除しますか?
bots.slack.setup.checking
Checking Slack…
Slack を確認中…
bots.whoCanAsk.incomplete
Not everyone is listed. Search by name to find someone.
全員は表示されていません。名前で検索して探してください。
browser.toolbar.annotateMode
Annotate, grab or draw
注釈、取得、描き込み
browser.annotatePalette.annotateTooltip
Annotate: comment on an element (A)
注釈: 要素にコメントします (A)
Testing
I manually tested these changes locally: not opened in the app; this is catalog data only.
Automated tests added/updated, or explained why not below: none added. The existing catalog verifiers cover placeholder and tag sets, glossary terms, plural forms and coverage.
Every added test fails without this change and avoids the test anti-patterns: no tests added.
On macOS, rebased onto current main (140e539e2ff):
pnpm verify:localization-catalogs, verify:localization-catalog, verify:localization-protected-copy and verify:localization-coverage pass. Japanese coverage goes to 24,439/25,126 (687 left, mostly the template strings above).
A flattened-key diff of ja.json against main shows 2,185 keys added, 0 changed, 0 removed. Every added key exists in en.json and keeps the same {{placeholder}} and <tag> set.
oxfmt --check passes on ja.json. The lint and changed-code-quality gates have no JS/TS to check.
Performance
None, because only the Japanese desktop catalog grows (1.91 MB to 2.07 MB). It is fetched by URL and parsed once, only when Japanese is selected. JSON.parse measures about 3.5 ms median before and 3.1 ms after (Node, 50 runs), which is within noise. No code, selector or per-item work changes.
Risk
Level: Low
Only Japanese text is added. If a word reads oddly, Japanese users see that word instead of English. A plain revert backs it out.
Review
Cross-platform: text only.
SSH/remote: not affected; hosts do not read UI catalogs.
Mobile: desktop catalog only; the phone catalog is untouched.
Security: nothing changes.
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
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): catalog verifiers pass locally; CI covers the rest.
No actionable comments were generated in the recent review.
Walkthrough
The Japanese locale file adds and updates interface strings for browser extensions, artifacts, emulator support, and general settings. It also adds extensive strings for Bots, including configuration, chats, automation, sharing, and connections to external services. The changes are limited to localization; application logic did not change.
Severity of issue fixed: Medium
Merge Risk: Minimal · up to 5ad0d
This PR adds Japanese text for strings that previously fell back to English. The locale file is structurally sound and no existing translations were altered. The risk of merging is minimal.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Out of Scope Changes check
The visible whole-PR diff touches only src/renderer/src/i18n/locales/ja.json, and every visible hunk adds Japanese catalog values that fall within #51400 scope. The diff output was truncated at 16000 …
Confirm the complete list of changed paths for the whole PR (merge base to head) and confirm that ja.json is the only changed file. Narrow the diff by path to show any paths after src/renderer/src/i18n/locales/ja.json in order.
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the main change: Japanese translations for 2,185 missing desktop strings, mainly for Bots and recent features. It matches the ja.json changes in the summary and objectives. It is speci…
Description check
The description follows the repository template. It has ELI5, What Changed, Why, Linked Issue (Fixes #51400), Visual Proof (N/A with a reason and a before/after table of i18next output), Testing, Perf…
Linked Issues check
[#51400] The requirement is Japanese values for the 2,185 keys that lack them in src/renderer/src/i18n/locales/ja.json. The whole-PR diff (main merge base 140e539 to head 5ad0d33) adds Japanese valu…
Full details: Title check
Explanation
The title names the main change: Japanese translations for 2,185 missing desktop strings, mainly for Bots and recent features. It matches the ja.json changes in the summary and objectives. It is specific, and the 88-character length is acceptable. The 'fix(i18n):' prefix is conventional and does not hurt clarity.
Full details: Description check
Explanation
The description follows the repository template. It has ELI5, What Changed, Why, Linked Issue (Fixes #51400), Visual Proof (N/A with a reason and a before/after table of i18next output), Testing, Performance, Risk (Level: Low), AI Disclosure, Review, Agent skill boundary, Notes, and Checklist. It explains the mechanism, the scope, the overlap with #45740 and #47391, and the verification done. Minor gaps: the manual-testing box is unchecked, and the Testing section says the app was not opened. The author discloses this, so the check still passes.
Full details: Linked Issues check
Explanation
[#51400] The requirement is Japanese values for the 2,185 keys that lack them in src/renderer/src/i18n/locales/ja.json. The whole-PR diff (main merge base 140e539 to head 5ad0d33) adds Japanese values in ja.json under bots.* (for example bots.fileChangedOnDisk, bots.tidyUp., bots.lookAround., bots.tools.), browser.extension.failure. and other listed areas. The visible hunks add values only and do not change existing values. The issue requires no automated tests, and its acceptance is translated text in the listed screens. Non-coding items (manual testing) do not apply. Limits: the diff output was truncated at 16000 bytes, so the total key count of 2,185 and the full placeholder preservation were not independently re-counted. The sampled hunks match the requirement.
Full details: Out of Scope Changes check
Explanation
The visible whole-PR diff touches only src/renderer/src/i18n/locales/ja.json, and every visible hunk adds Japanese catalog values that fall within #51400 scope. The diff output was truncated at 16000 bytes after the first file section. Files that sort after src/renderer/src/i18n/locales/ja.json in the diff order were not visible. The PR description and change summary state that no other file changes. That statement is not confirmed from the diff itself.
Resolution
Confirm the complete list of changed paths for the whole PR (merge base to head) and confirm that ja.json is the only changed file. Narrow the diff by path to show any paths after src/renderer/src/i18n/locales/ja.json in order.
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: b2924cca-8966-48c4-acc6-f941106b363d
Commits
Reviewing files that changed from the base of the PR and between 57fe7c0 and 5ad0d33.
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; 0 remain after this review.
…and recent features
Add Japanese values to src/renderer/src/i18n/locales/ja.json for 2,185
catalog keys that fell back to English: bot connections, Bots screens,
bot sharing and access, Settings > Bots, automation bot targets, the
browser annotate palette, toolbar and cookie import, feature tips and
other recent strings. Wording reuses the terms ja.json and the mobile
catalog already use. No existing value, English string or code changes.
Fixesstablyai#51400
Co-authored-by: Neil <[email protected]>
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
With Orca set to 日本語, the desktop app still showed English inside the Bots screens and other recent features. This PR adds Japanese for those 2,185 strings, so those screens read fully in Japanese.
What Changed
en.jsonhad no value insrc/renderer/src/i18n/locales/ja.json, so i18next fell back to English inside otherwise Japanese screens: bot connections (webhooks, Composio, Google, Slack, GitHub, Linear, apps), the Bots screens (list, items, chats, new bot, import, activity), bot sharing, access, groups and hosts, Settings → Bots (tools, memory, skills, look-around, tidy-up), automation bot targets and events, the browser annotate palette, toolbar and cookie import, feature tips, and a few other recent strings.ja.jsonand the phone catalog (mobile/src/i18n/locales/ja.json) already use. In running text a bot is 「ボット」. Product names (Orca, Slack, Google, GitHub, Linear, Composio, MCP), code and file names stay as written.ja.json. No existing value changes, and no English string, code or other locale changes. The 39 removed diff lines only gain a trailing comma. A review pass also fixed the Google Admin console path, counted people with 人, reworded the link and reconnect notices, and matched the date filter and tidy-up spacing to the rest of the catalog.Why
These strings sit inside Japanese screens, so each English line stands out. Adding values to the existing catalog is the whole fix; the runtime already loads
ja.jsonwhen Japanese is selected.Bot template and skill strings (
bots.templates,bots.templateSkills) are out of scope here and left to #47391.Linked Issue
Fixes #51400
Visual Proof
N/A: catalog text only, with no layout or code change. Sample values,
en.json(whatmainshows today as the fallback) next to this PR'sja.json:main(English fallback)sidebar.botsSplit.resizesettings.bots.fileChangedOnDiskautomations.botTarget.chatbots.row.deleteTitlebots.slack.setup.checkingbots.whoCanAsk.incompletebrowser.toolbar.annotateModebrowser.annotatePalette.annotateTooltipTesting
On macOS, rebased onto current
main(140e539e2ff):pnpm verify:localization-catalogs,verify:localization-catalog,verify:localization-protected-copyandverify:localization-coveragepass. Japanese coverage goes to 24,439/25,126 (687 left, mostly the template strings above).ja.jsonagainstmainshows 2,185 keys added, 0 changed, 0 removed. Every added key exists inen.jsonand keeps the same{{placeholder}}and<tag>set.oxfmt --checkpasses onja.json. The lint and changed-code-quality gates have no JS/TS to check.Performance
None, because only the Japanese desktop catalog grows (1.91 MB to 2.07 MB). It is fetched by URL and parsed once, only when Japanese is selected.
JSON.parsemeasures about 3.5 ms median before and 3.1 ms after (Node, 50 runs), which is within noise. No code, selector or per-item work changes.Risk
Level: Low
Only Japanese text is added. If a word reads oddly, Japanese users see that word instead of English. A plain revert backs it out.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred): catalog verifiers pass locally; CI covers the rest.