Skip to content

fix(i18n): translate missing ko/ja/es/fr/pt UI strings - #34643

Merged
OrcaWin merged 4 commits into
mainfrom
OrcaWin/i18n-catalog-fill
Oct 28, 2026
Merged

OrcaWin merged 4 commits into
mainfrom
OrcaWin/i18n-catalog-fill

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 0 0 0 0
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1883 $\color{#cf222e}{\Huge{\mathbf{−}}}$​182 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1701

Summary

Fills every en.json key that the ko, ja, es, fr and pt catalogs were missing. Refs #32207 (A1).

Locale Leaves added Missing after
ko 293 11
ja 244 11
es 293 11
fr 293 11
pt 316 0
  • Additive only. I flattened each catalog before and after: 0 existing values changed and 0 keys removed. The only - lines in the diff are lines that gained a trailing comma.
  • Keys left out on purpose. The 11 still missing in ko/ja/es/fr are the provider credit-balance keys under auto.components.status.bar.*. provider-credit-balance-locales.test.ts requires them to stay sparse.
  • zh is not touched. fix(i18n): translate 229 missing Simplified Chinese UI strings #34478 handles it.
  • pt also gets the 23 keys that only it lacked: settings.sourceControl.actionModel.*, the RemoteFileBrowser labels, native-chat failure words, chat rename, agent-session continuation and sourceControl.actionSaveFailed.
  • Source-control dropdown. Covers the source-control dropdown titles and blocked reasons that showed in English in every locale (titleCheckOutBranchToSync, rebase*, blocked*, …).
  • Terminology follows each catalog's existing terms:
    • ko: 워크스페이스 / 워크트리 / 에이전트 / 저장소
    • ja: ワークスペース / ワークツリー / Agent
    • es/fr/pt keep "worktree"
    • es and pt use commit/push/rebase wording that matches the neighbouring dropdown items
  • Placeholders match en exactly. No English is copied in, apart from brand names (Chrome Web Store), , , and the search keywords chrome and mod.
  • Docs. docs/site/content/docs/settings.mdx now lists Français and Português (Brasil) in the Language options and adds "Langue" to the native-keyword list (it was already indexed in appearance-search.ts).

Closes #34513

Validation

  • pnpm verify:localization-catalogs passes. Coverage: ko/ja/es/fr 17579/17590, pt 17590/17590.
  • pnpm verify:localization-extraction passes.
  • pnpm verify:localization-coverage passes.
  • pnpm tc:web passes.
  • pnpm test passes for the locale-related suites: src/renderer/src/i18n, provider-credit-balance, NoticeHostGlyph, SidebarToolbar, osc52 toast, ipc-error, plugin-content-pack-registry, verify-localization-catalogs, ko frozen keywords and macOS TCC localization. That is 22 files and 143 tests.

Fill every en.json key missing from the ko, ja, es, fr and pt catalogs
(293 ko/es/fr, 244 ja, 316 pt leaves; purely additive). The provider
credit-balance status-bar keys stay sparse per
provider-credit-balance-locales.test.ts, and zh is left to #34478.

Also list Français and Português (Brasil) in the Settings docs.

Closes #34513
@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner October 28, 2026 00:48
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

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: c1c7ef1a-0839-4ae3-954d-0432d7050317
Commits

Reviewing files that changed from the base of the PR and between 6631e5f and b45c519.

Files selected for processing: 6
  • docs/site/content/docs/settings.mdx
  • 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/pt.json

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

Walkthrough

The change adds French and Brazilian Portuguese to the settings language documentation. It also adds and updates interface translations in the Spanish, French, Japanese, Korean, and Portuguese catalogs. The translated strings cover browser extensions, agent permissions, source control, workspaces, remote hosts, chat recovery, and other application features. No executable behavior or public declarations change.

Priority: Normal

Severity of issue fixed: Medium

Merge Risk: Minimal · up to b45c5

The changes add translations and update the language documentation. No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description covers the main content. It has a Summary with a per-locale table, validation results, and a docs update. It does not follow the required template. The ELI5, What Changed, Why, Linked … Rewrite the description to follow the repository template. Add these sections: ELI5, What Changed (before and after as users see it), Why (including why this approach was chosen), Linked Issue (use the template's "Fixes #" format with an ac…
Out of Scope Changes check Warning Issue #34513 directly scopes the pt catalog and the settings documentation. The PR also adds catalog entries to ko.json, ja.json, es.json, and fr.json. No linked active issue in the supplied evidence … Remove the unrelated ko.json, ja.json, es.json, and fr.json catalog additions from this pull request, or link active issues that require those locale changes.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title "fix(i18n): translate missing ko/ja/es/fr/pt UI strings" describes the main change: filling in missing en.json keys across five locale catalogs. It is specific and concise. The one mismatch …
Linked Issues check Passed Issue #34513 requires the pt catalog to include the missing en.json keys, preserve interpolation placeholders, and provide idiomatic Brazilian Portuguese translations. The PR summary reports complete …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Title check

Explanation

The title "fix(i18n): translate missing ko/ja/es/fr/pt UI strings" describes the main change: filling in missing en.json keys across five locale catalogs. It is specific and concise. The one mismatch is the "fix" prefix. The PR is additive translation work, not a bug fix in code, though it does correct missing localization.

Full details: Linked Issues check

Explanation

Issue #34513 requires the pt catalog to include the missing en.json keys, preserve interpolation placeholders, and provide idiomatic Brazilian Portuguese translations. The PR summary reports complete pt coverage at 17,590/17,590 and exact placeholder matches. It also reports the required settings documentation update for Português (Brasil) and Français. The reported localization checks pass.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (6 skipped: 6 unsupported.)

Full details: Description check

Explanation

The description covers the main content. It has a Summary with a per-locale table, validation results, and a docs update. It does not follow the required template. The ELI5, What Changed, Why, Linked Issue (uses "Closes #34513" rather than the template's "Fixes #" line), Visual Proof, Testing checklist, AI Disclosure, Review, Agent skill upstream boundary, and Checklist sections are missing. Visual Proof is required for UI changes, and this change does alter visible UI text in five locales, so it needs a before/after or a justified N/A. The Testing checklist is also missing.

Resolution

Rewrite the description to follow the repository template. Add these sections: ELI5, What Changed (before and after as users see it), Why (including why this approach was chosen), Linked Issue (use the template's "Fixes #" format with an actual issue number), Visual Proof (before and after screenshots or videos of the translated UI, since visible strings change in five locales), Testing (steps and platforms tested, with the template checkboxes), AI Disclosure (state whether AI was used, or leave it blank if you are a StablyAI team member), Review, Agent skill upstream boundary checkbox, Notes (confirm security, cross-platform, remote SSH, mobile, backward compatibility, and performance), and the Checklist. Also reconcile the linked issue: the PR links #34513, which covers pt-BR only, but the PR also changes ko, ja, es, and fr. Either link an issue that covers those locales or explain the scope.

Full details: Out of Scope Changes check

Explanation

Issue #34513 directly scopes the pt catalog and the settings documentation. The PR also adds catalog entries to ko.json, ja.json, es.json, and fr.json. No linked active issue in the supplied evidence requires those catalog changes. The French documentation mention is in scope, but the French catalog changes are not.

Resolution

Remove the unrelated ko.json, ja.json, es.json, and fr.json catalog additions from this pull request, or link active issues that require those locale changes.

  • 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

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

…fill

# Conflicts:
#	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/pt.json
@OrcaWin
OrcaWin merged commit 2e0ba4e into main Oct 28, 2026
46 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.

1 participant