Repository navigation
chore(i18n): translate 76 new keys to es/fr/ja/ko/zh - #25719
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📥 CommitsReviewing files that changed from the base of the PR and between e0a699b34548825e60e621e007134e16e0dd35f6 and 620ecc5. 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (5)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe translation scan record documents 87 new English keys, 18 changed values, and translations or updates across five locales. The locale catalogs add labels for provider usage, Agent activity controls, Jira assignee selection, CSV editing, and workspace deletion. They also update Gemini CLI, structured-chat, Markdown review-note, and onboarding text. Priority: ⬇️ Low Merge Risk: 🔵 Low · up to The Japanese CSV indexing status reads unnaturally. This is a limited translation-quality issue that can be corrected before merging or accepted for follow-up. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 2 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
3a97a25e-47dd-49b4-89fb-75ec3c2ee1ff
📥 Commits
Reviewing files that changed from the base of the PR and between 9f56170 and e0a699b34548825e60e621e007134e16e0dd35f6.
📒 Files selected for processing (6)
config/update-translation.txtsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/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; 9 remain after this review.
| }, | ||
| "csv": { | ||
| "detectingDelimiter": "デリミタを検出中…", | ||
| "indexProgress": "CSV をインデックス作成中… {{percent}}%", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
rg -n '"indexProgress"' src/renderer/src/i18n/locales
sed -n '19014,19024p' src/renderer/src/i18n/locales/ja.json
rg -n -i 'translation|localization|Japanese|日本語' config src/renderer/src/i18nRepository: stablyai/orca
Length of output: 45402
🏁 Script executed:
set -eu
printf '%s\n' '--- English/current/base locale values ---'
git show e0a699b34548825e60e621e007134e16e0dd35f6:src/renderer/src/i18n/locales/en.json | rg -n -C 2 '"indexProgress"'
git show e0a699b34548825e60e621e007134e16e0dd35f6:src/renderer/src/i18n/locales/ja.json | rg -n -C 2 '"indexProgress"'
git show 9f561703b70409e62e234a346d9228458b6a6af5:src/renderer/src/i18n/locales/ja.json | rg -n -C 2 '"indexProgress"' || true
printf '%s\n' '--- key usage ---'
rg -n -F -- 'csv.indexProgress' src/renderer/src --glob '!i18n/locales/*.json' || test "$?" -eq 1
rg -n -F -- 'indexProgress' src/renderer/src --glob '!i18n/locales/*.json' || test "$?" -eq 1
printf '%s\n' '--- translation guidance ---'
sed -n '1,140p' config/update-translation.txt
sed -n '1,180p' config/scripts/locale-translation-policy.mjs
printf '%s\n' '--- Japanese policy files ---'
rg --files config/scripts | rg 'locale-translation-policy\\.ja|locale-translation-policy\\.mjs'Repository: stablyai/orca
Length of output: 831
🤖 get_repo_knowledge executed:
get_repo_knowledge stablyai/orca /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/learnings /tmp/coderabbit-repo-knowledge/stablyai-orca-89dc44e4/conventions
Length of output: 47729
🏁 Script executed:
set -eu
printf '%s\n' '--- base-to-head Japanese locale diff ---'
git diff --unified=3 9f561703b70409e62e234a346d9228458b6a6af5 e0a699b34548825e60e621e007134e16e0dd35f6 -- src/renderer/src/i18n/locales/ja.json | rg -n -C 4 'indexProgress|Indexing CSV|インデックス'
printf '%s\n' '--- complete CSV progress rendering context ---'
sed -n '112,150p' src/renderer/src/components/editor/csv/CsvPagedViewer.tsx
printf '%s\n' '--- translation workflow instructions ---'
sed -n '1,70p' config/update-translation.txt
printf '%s\n' '--- Japanese translation policy file names ---'
rg --files config/scripts | rg 'locale-translation-policy\\.ja|locale-translation-policy\\.mjs' || test "$?" -eq 1Repository: stablyai/orca
Length of output: 6498
🏁 Script executed:
set -eu
printf '%s\n' '--- Japanese locale index/progress phrasing ---'
rg -n 'インデックス|作成中|索引' src/renderer/src/i18n/locales/ja.json | head -n 50
printf '%s\n' '--- canonical translation policy ---'
sed -n '25,75p' config/i18n-translation-source.md
sed -n '280,305p' config/i18n-translation-source.md
printf '%s\n' '--- exact cited lines ---'
nl -ba src/renderer/src/i18n/locales/en.json | sed -n '1,7p'
nl -ba src/renderer/src/i18n/locales/ja.json | sed -n '19017,19023p'
nl -ba src/renderer/src/components/editor/csv/CsvPagedViewer.tsx | sed -n '132,142p'
nl -ba config/update-translation.txt | sed -n '1,19p'Repository: stablyai/orca
Length of output: 8262
Use a natural Japanese construction for the indexing status.
CSV をインデックス作成中 is an awkward particle construction. Use CSV のインデックスを作成中 to state that the index is being created for the CSV.
Suggested wording
- "indexProgress": "CSV をインデックス作成中… {{percent}}%",
+ "indexProgress": "CSV のインデックスを作成中… {{percent}}%",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "indexProgress": "CSV をインデックス作成中… {{percent}}%", | |
| "indexProgress": "CSV のインデックスを作成中… {{percent}}%", |
There was a problem hiding this comment.
ℹ️ No critical issues — one minor doc correction inline.
Reviewed changes
- Locale catalogs —
es/fr/ja/ko/zh.jsongain the 76 new English keys (csv editor, activity thread list + context menu, nested-worktree removal, workspace-delete change checks, Jira assignee field, providerLimitlabel) plus three stale-value corrections (Gemini CLI legacy copy/label, onboarding arrow spacing), leaving the 11 provider credit-balance keys as intentional sparse fallbacks. - Translation tracker —
config/update-translation.txtrecords the Scan 2026-10-05 entry.
I verified independently: all five files parse with no duplicate keys, zero placeholder mismatches against en.json, every added key exists in en.json, provider.extra.usage.section.135d51c19f resolves at the correct path in each locale, and the 11 pinned balance keys remain absent (provider-credit-balance-locales.test.ts passes 11/11). verify-localization-catalog.mjs reports 15269/15280 for all five locales.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
| - Applied 76 new keys x5 via apply-translation-delta.mjs (pipeline repaired ja | ||
| open->オープン, zh 智能体->代理 xN, ko refreshFailed spacing) + 3 stale updates x5 via | ||
| the same repairTranslatedValue gate. Strictly additive: +380 new keys, 0 removed. | ||
| - Gates after fix: catalog verify PASS (all five 15268/15279; the 11 omissions are the |
There was a problem hiding this comment.
This line reports 15268/15279, but verify-localization-catalog.mjs currently prints 15269/15280 for all five locales (matching the PR description). Looks like an off-by-one measured before a key landed.
Delta since last scan (a15a5c8): 87 new en keys plus 18 changed en values. 11 of the 87 are provider credit-balance keys that provider-credit-balance-locales.test.ts intentionally keeps absent from target catalogs (sparse English fallback), so they were left untranslated; the remaining 76 were translated for all five locales. 15 of the 18 changed values already matched the new English upstream; 3 stale ones (Gemini CLI legacy copy/label, onboarding arrow spacing) were corrected. Applied via apply-translation-delta.mjs and the repairTranslatedValue policy gate (ja open->オープン, zh 智能体->代理, ko spacing). Strictly additive: +380 locale keys, 0 removed. Three subagent review rounds (max 4): R1 fixed 11, R2 fixed 3 and rejected the ja half-width-colon and ko pinned-override findings as repo conventions, R3 signed off clean on all five locales. Gates: catalog verify, coverage --check, extraction, runtime-catalog, and the locale vitest suites (34 files / 288 tests) all pass.
e0a699b to
620ecc5
Compare

ELI5
Orca shipped new screens and messages since the last translation sweep (a CSV file editor, provider credit balances, the activity thread list, nested-worktree deletion, the Jira assignee field, and workspace-delete change checks). They appeared in English for everyone. This PR adds the Spanish, French, Japanese, Korean, and Chinese text for those new messages and corrects a few stale ones.
What Changed
en.jsondelta, translated it perconfig/i18n-translation-source.md, and applied it throughconfig/scripts/apply-translation-delta.mjs(placeholder-parity check + therepairTranslatedValuepolicy pipeline), then ran 3 subagent review rounds (5 reviewers each).Why
Keeps every locale complete for the current English catalog without touching product code. 11 of the original 87 are provider credit-balance keys that
provider-credit-balance-locales.test.tsintentionally keeps absent from target catalogs (sparse English fallback, #25408), so they are deliberately left untranslated — the rest sit at 15269/15280 with only those 11 pinned gaps. Leaving the delta untranslated is safe at runtime but shows English to localized users.Linked Issue
N/A — recurring translation sweep tracked in
config/update-translation.txt(Scan 2026-10-05 entry).Visual Proof
N/A — locale JSON values only, no visual or interaction change; rendered through the existing i18n fallback path.
Testing
Verification (all pass):
node config/scripts/verify-localization-catalog.mjs— all five locales 15269/15280 (11 intentional balance omissions), 0 interpolation mismatches, 0 generic-term regressionsnode config/scripts/audit-localization-coverage.mjs --check— 13 allowlisted candidatesnode config/scripts/verify-localization-extraction.mjsnode config/scripts/generate-runtime-required-english-catalog.mjsNotes
Two review findings were rejected as repo conventions rather than fixes: the ja half-width
例:(28 existing occurrences) andauto.components.onboarding.AgentStep.showMoreAgents, whose Latin "agents" is deliberately pinned byconfig/scripts/locale-ko-key-overrides.json.