Skip to content

chore(i18n): translate 176 new keys to es/fr/ja/ko/zh - #26365

Merged
AmethystLiang merged 1 commit into
mainfrom
translation-update-20261007
Oct 8, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
translation-update-20261007

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1245 $\color{#cf222e}{\Huge{\mathbf{−}}}$​28 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1217

ELI5

Orca shipped a lot of new screens and messages since the last translation sweep (native-chat rewind, composer/attachment notices, inline visuals, managed-server and SSH move flows, chat appearance settings, project board/views, markdown callouts, media preview). They appeared in English for everyone. This PR adds the Spanish, French, Japanese, Korean, and Chinese text for those new messages, and fixes a couple of stale ones left over from changed English wording.

What Changed

  • Before: 187 English-only keys fell back to English in all five locales, and 2 English wordings had changed without a matching locale update (the "Git AI Author changes" -> "AI settings" reword still read "AI changes" / "移動").
  • After: the 176 translatable new keys (es 177) plus the stale values are translated for es/fr/ja/ko/zh. Only locale JSON files and the translation scan tracker changed. Strictly additive: +881 locale entries, 0 removed.
  • Mechanism: computed the base-to-HEAD en.json delta (base d3943c6d81 from the 2026-10-05 scan), translated it per config/i18n-translation-source.md, and applied it through config/scripts/apply-translation-delta.mjs (placeholder-parity check + the repairTranslatedValue policy 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 187 are provider credit-balance keys that provider-credit-balance-locales.test.ts intentionally keeps absent from target catalogs (sparse English fallback, #25408), so they are deliberately left untranslated — the rest sit at 15566/15577 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-07 entry).

Visual Proof

N/A — locale JSON values only, no visual or interaction change; rendered through the existing i18n fallback path.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

Verification (all pass):

  • node config/scripts/verify-localization-catalog.mjs — all five locales 15566/15577 (11 intentional balance omissions), 0 interpolation mismatches, 0 generic-term regressions
  • node config/scripts/audit-localization-coverage.mjs --check — 13 allowlisted candidates
  • node config/scripts/verify-localization-extraction.mjs
  • node config/scripts/generate-runtime-required-english-catalog.mjs
  • vitest locale suites — 43 files, 386 tests pass (translation policy es/fr/ja/ko/zh rounds, ko overrides, generic UI terms, frozen keywords, native-chat locales, provider credit balance sparse-catalog contract)

Notes

Cross-platform, SSH, mobile, and performance impact: none (JSON locale values only). Three subagent review rounds: R1 fixed 14 (es placeholder-agreement + register, fr pronoun/coordination, ja pipeline-induced grammar artifacts, ko/zh wording), R2 fixed 13 (all-locale stale "AI settings" copy and several idiomaticity issues), R3 sign-off clean on all five locales.

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

Scan the merged PRs since the 2026-10-05 scan (d3943c6): 331 new en keys,
33 removed, 15 changed values. All five target locales were missing the same
187 keys; 11 are provider credit-balance keys intentionally left to the English
sparse fallback (#25408), so this adds the remaining 176 keys to each locale
(es 177: it alone was missing TerminalErrorToast.heldByPreviousRelay).

Also fix two stale changed-English values ("Git AI Author changes" -> "AI
settings") that still read "AI changes"/"移動" in es/fr/ja.

Additive only: +881 target values, 0 removed. The repair pipeline normalized
ja 新しい->新規, エージェント->Agent, and retry/待っている.

Three review rounds (5 reviewers each): R1 fixed 14, R2 fixed 13, R3 clean.
Gates: catalog verify, coverage --check, extraction, runtime-catalog, and the
locale vitest suites (43 files, 386 tests) all pass.
@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 28e014a2-67e7-45cd-b23f-1fec2803be04
📥 Commits

Reviewing files that changed from the base of the PR and between de4ee59 and 52633cb.

📒 Files selected for processing (6)
  • config/update-translation.txt
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.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; 9 remain after this review.


📝 Walkthrough

Walkthrough

The Spanish, French, Japanese, Korean, and Chinese locale files add interface text for managed servers, chat rewind and visualization, project boards, symlink handling, and other interface states. They also revise several existing translations. The translation scan report records key changes, untranslated provider credit-balance keys, and passing validation and locale tests.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 52633

The reported translation count is correct, and this change does not alter the flagged Chinese wording. No identified issue blocks merging after normal checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: translating 176 new keys into Spanish, French, Japanese, Korean, and Chinese.
Description check ✅ Passed The description is detailed and covers the change, rationale, scope, testing, visual proof, review notes, and checklist. It does not provide an actual linked issue and leaves the full lint, typecheck,…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@AmethystLiang
AmethystLiang merged commit 4f60f32 into main Oct 8, 2026
35 checks passed
@AmethystLiang
AmethystLiang deleted the translation-update-20261007 branch October 8, 2026 00:05
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.

1 participant