Skip to content

fix(i18n): correct mistranslated Korean settings search keywords - #46947

Merged
nwparker merged 1 commit into
stablyai:mainfrom
dbsghdz1:fix/ko-settings-search-keywords
Nov 22, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
dbsghdz1:fix/ko-settings-search-keywords

Conversation

@dbsghdz1

@dbsghdz1 dbsghdz1 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Korean, Settings search also looks for a Korean keyword for each setting. Some of those keywords were bad machine translations: "tray" was a serving tray (쟁반) and "permission" was a permit (허가). Others were half in English (repos 아이콘). So typing the normal Korean word did not find the setting. This fixes those keywords and leaves every keyword that was already valid Korean alone.

What Changed

  • Before: 19 Korean search keywords used the wrong sense of a word (tray as 쟁반, permission as 허가, dialog as 대화, publish as 출판하다, public as 공공의, modifier as 수정자, placement as 놓기, loudness as 큰 소리, opt out as 탈퇴, margin as 여유), were half in English (repos, repos 아이콘, repos 이름, commit 메시지, 모노 repo), or had a stray colon (속도 제한 :).
  • After: each of those 19 keywords is the term the Korean UI uses. For 11 of them the setting's own entry (title, description, other keywords) did not match the right Korean term before, and now it does. For example, 저장소 now finds Remove project, 커밋 메시지 finds Git AI author, 음량 finds Notification volume, 대화 상자 finds the delete confirmations, and 보조 키 finds the link-routing modifier. The other 8 already matched through the title or another keyword, so only the wrong keyword goes away.
  • How: the values change in src/renderer/src/i18n/locales/ko.json, and they are pinned so a catalog repair keeps them. 13 entries go into the Korean table of locale-search-keyword-overrides.mjs, which repairTranslatedValue applies to .search. keys. 5 entries go into locale-ko-key-overrides.json for keys that table cannot reach: the three artifact keywords and the coordinator-approvals permission keyword (none of these are .search. keys), and rate limit on the GLM coding plan. No keys, English strings, app code or other locales change. English queries are not affected, because the English fallback is indexed next to the localized keyword.
Every value considered (35 keys: 19 changed, 16 left as on main)

The rule: change a value only if the old one was wrong (wrong sense, half English, or junk punctuation) and no valid Korean query that matched the setting on main stops matching. A swap of one valid Korean word for a synonym or another form of it is left alone, even when the new word reads better, because it loses the old word as a query. "Other searchable text" is the setting's Korean title, description and other keywords. Matching is a lowercase substring test (scoreSettingsSearchText).

Key (auto.components.settings. unless noted) English Main This PR Other searchable text Verdict
appearance.search.tray.tray tray 쟁반 트레이 title 닫을 때 트레이로 최소화; 시스템 트레이 Changed: wrong sense (serving tray). The menu bar entry indexes this key English-only.
browser.search.linkRoutingModifier.modifier modifier 수정자 보조 키 titles Shift를 누른 채 클릭하면 Orca에서 / 웹 브라우저에서 열기; 라우팅, 반전, 반대 Changed: wrong sense (a person who edits). 보조 키 is new to the entry.
browser.search.clientHostedRemote.placement placement 놓기 위치 title 원격 서버 워크스페이스; description 페이지가 렌더링되는 곳...; 원격, 클라이언트, 호스트 Changed: wrong sense (putting something down). 위치 is new to the entry.
general.search.ca86dd6e27 (x4 entries) dialog 대화 대화 상자 titles ...삭제하기 전에 확인; 확인, 건너뛰기, 프롬프트 Changed: wrong sense (conversation). Nothing is lost, because 대화 is inside 대화 상자.
notifications.search.ecdeff4993 loudness 큰 소리 음량 title 알림 볼륨; 소리, 볼륨 Changed: wrong sense (a loud noise). 음량 is new; 소리 still matches.
privacy.search.27a27b2f63 (x2 entries) opt out 탈퇴 거부 titles 개인정보 및 텔레메트리 / 익명의 사용 데이터 공유; 수신 동의 Changed: wrong sense (leaving a membership). 거부 is new to both entries.
artifacts.keywordPublish publish 출판하다 게시 title 공개 아티팩트 링크 게시 허용 Changed: wrong sense (book publishing).
artifacts.keywordPublic public 공공의 공개 same title Changed: wrong sense (public sector).
artifacts.keywordPermission permission 허가 권한 same title; 아티팩트, 공유 Changed: permit, not the 권한 the Korean UI uses. 권한 is new to the entry.
OrchestrationPane.coordinatorApprovalsKeywordPermission permission 허가 권한 title 코디네이터가 워커의 권한 요청을 승인하도록 허용 Changed: same reason.
agents.search.permission permission 허가 권한 title 에이전트 권한; 권한 (permissions) Changed: same reason.
notifications.search.b8bf5471d1 permission 허가 권한 description 코딩 에이전트가 권한을 요청하거나... Changed: same reason.
components.settings.terminal.clipboard.search.margin margin 여유 여백 title 복사 시 여백 자르기; 여백 (gutter) Changed: wrong sense (spare time or room).
repository.search.cc876ca5f2 repository repos 저장소 title 프로젝트 제거; 삭제, 프로젝트 Changed: English left in the Korean catalog. The English fallback repository still matches repos.
repository.search.b2546efab5 repository icon repos 아이콘 저장소 아이콘 title 프로젝트 아이콘; 색상, 배지 Changed: half English.
repository.search.cd73b976d7 repository name repos 이름 저장소 이름 title 표시 이름; 프로젝트 이름 Changed: half English.
repository.search.eec39b3de6 commit message commit 메시지 커밋 메시지 title Git AI 작성자; 소스 제어, 브랜치 이름 Changed: half English. 커밋 is new to the entry.
repository.search.4b9a18a56d monorepo 모노 repo 모노레포 title 스파스 체크아웃 사전 설정; 디렉터리 Changed: half English. 모노 still matches.
accounts.search.zcodePlan.kw.rateLimit rate limit 속도 제한 : 속도 제한 title GLM Coding Plan; 코딩 계획 Changed: stray colon only. Pinned by key.
general.search.5250cf0e48 pin 핀 핀 (unchanged) title 고정된 탭을 닫기 전에 확인; 고정된 Kept: 핀 is valid. 고정 was already in the title, and 핀 would stop matching.
mobile.settings.search.6cf5f54ce1 button 단추 단추 (unchanged) title Orca Mobile 버튼 표시 Kept: 단추 is valid. 버튼 was already in the title.
general.search.afa37a34e1 close 닫다 닫다 (unchanged) title 고정된 탭을 닫기 전에 확인 Kept: 닫다 is valid. 닫기 was already in the title.
general.search.close close 닫다 닫다 (unchanged) title 실행 중인 채팅이나 터미널을 닫기 전에 확인 Kept: same reason.
terminal.search.close_terminal close 닫다 닫다 (unchanged) title 실행 중인 Terminals을 닫기 전에 확인 Kept: same reason.
appearance.search.tray.close close 닫다 닫다 (unchanged) title 닫을 때 트레이로 최소화 Kept: 닫다 is valid and would stop matching.
appearance.search.tray.minimize minimize 최소화하다 최소화하다 (unchanged) title 닫을 때 트레이로 최소화 Kept: valid, and 최소화 is already in the title.
agents.search.skip skip 건너뛰다 건너뛰다 (unchanged) title 에이전트 권한 Kept: valid. 건너뛰다 would stop matching.
general.search.replace replace 바꾸다 바꾸다 (unchanged) title 파일 탐색 시 미리보기 탭 재사용 Kept: 교체 is a synonym, and 바꾸 would stop matching.
git.search.diffBase diff base 차이점 기반 차이점 기반 (unchanged) title 기본 비교 기준; 비교 기준 Kept: 비교 기준 is already a keyword, and 차이점 would stop matching.
repository.search.fastForward fast-forward 빨리감기 빨리감기 (unchanged) description 이 포크를 upstream에서 안전하게 fast-forward합니다. Kept: the proposed English value was already matched by the fallback and description. Changing it would only drop the Korean 빨리감기.
terminal.search.781f49d942 (x3 entries) divider 분할기 분할기 (unchanged) titles 구분선 두께 / 다크 모드·라이트 모드 구분선 색상 Kept: 분할기 (splitter) is valid, and 구분선 is already in every title.
terminal.search.minimumContrast.minimum minimum 최저한의 최저한의 (unchanged) title 색상 대비; 대비, 비율 Kept: 최소 and 최저 are synonyms, and 최저 would stop matching.
privacy.search.83a6cd79b3 do not track 추적하지 마세요 추적하지 마세요 (unchanged) title 텔레메트리 환경 변수; do_not_track Kept: valid Korean. 추적하지 would stop matching.
privacy.search.b021b9cb81 (x2 entries) anonymous 익명의 익명의 (unchanged) description / title contain 익명의 Kept: valid, and the change would not affect any query.
repository.search.19f58d6d89 advanced 고급의 고급의 (unchanged) 고급 (sibling keyword) Kept: valid. 고급 was already a keyword.

Why

Search keywords are single words with no context. That is where machine translation most often picks the wrong sense, and since nobody sees keywords on screen, they stay wrong. repair-locale-catalog.mjs --locale ko does not touch any of these 19 on main.

Each keyword was read against the title, description and other keywords of its own setting. A value changes only when the old one was wrong and the change loses no valid Korean query. Where the old value was valid Korean (핀, 단추, 닫다, 바꾸다, 분할기, 빨리감기 and others) it stays, even if the new word would match the title. The new word already matches through the title, so changing it would only remove a Korean word users can type.

Original fix by @dbsghdz1 in #46947. The branch is now one squashed commit on current main, authored by @dbsghdz1, with the review follow-ups folded in.

Linked Issue

If you do not have one and are an outside contributor, your PR will be ignored. Refs is not sufficient. Link an actual issue

Fixes #46946

Visual Proof

N/A. Search keywords are never drawn on screen, so there is nothing to screenshot. What changes is which settings a Korean query matches, and that list is under What Changed and Testing.

Testing

  • I manually tested these changes locally

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

  • pnpm verify:localization-catalogs and pnpm verify:localization-catalog pass.

  • Changed-code gates pass on the touched files: oxfmt, oxlint, anti-slop, native-plugin oxlint, ast-grep, and check-changed-code-quality.mjs (0 findings).

  • Ran the ko repair (repair-locale-catalog.mjs, locale ko) on copies and compared the results. With this branch's policy on this branch's ko.json, it makes the same 185 pre-existing drift updates as main and keeps all 19 changed values. Compared with the repair output on main, exactly these 19 keys differ, so the 13 new table entries change no other key. With main's ko.json and this branch's pins, the repair produces all 19 new values (185 + 19 = 204 updates). The repair output was discarded each time.

  • For each of the 35 keys above, I checked whether the old and new values match the setting's other Korean text, using the same lowercase substring rule as scoreSettingsSearchText. 11 changed values are new to their entry and 8 were already matched.

  • No tests added: only catalog values and override tables change, and the catalog verification covers them.

  • Re-checked after squashing onto current main (f18e4eb): the landed diff is line-for-line identical to the reviewed change, both catalog verifiers exit 0, and every static gate passes on the touched files.

  • Not done: the app was not run and nothing was typed into Settings search. macOS only.

Performance

None, because only catalog values and the build-time override tables change. The same keys load the same way. ko.json grows by 9 bytes (1683250 to 1683259). The median JSON.parse time is about 2.5 ms before and after, and a substring scan of all 2165 search keyword values for 8 queries (including 2 KB adversarial ones) takes about 0.11 ms on both.

Risk

Level: Low

If a term is off, a Korean query misses a setting it could have matched, which is where these 19 are today. English queries are not affected. The riskiest part is the search keyword table, because an entry applies to every .search. key with that English word. The repair diff above shows no key outside these 19 changes. A plain revert backs it out.

Review

  • Cross-platform: catalog values only, the same on every platform.
  • SSH/remote: not affected.
  • Mobile: the mobile catalog is not touched.
  • 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

Follow-up to the note in #46929. Left out on purpose: opt in is already pinned to 수신 동의 in the Korean key overrides, so I did not change it. I also left the three desktop keywords (데스크탑) alone: one means the macOS Desktop folder, which macOS itself labels 데스크탑, and another sits on a setting whose own option text says 데스크탑. Brand names written in Hangul (그로크, 젤리즈) and the 작업 트리 / 워크트리 split are separate questions.

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). I ran pnpm check:changed locally and CI covers the rest.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds Korean search keyword overrides for ZCode rate limits, artifact publishing and access, permissions, and interface terms. It also revises Korean search terms across settings, browser, notifications, privacy, repositories, artifacts, and terminal strings.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 2c7e6

This updates Korean Settings search keywords so natural Korean terms match the intended settings. No application behavior changes, and no merge-blocking risk was found.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #46946 requires correcting 34 Korean Settings search keywords so Korean queries match their settings. The verified part is the Korean table in config/scripts/locale-catalog/locale-search-keyword… Provide readable access to the ko.json diff and to the locale-ko-key-overrides.json diff at the reviewed head. Confirm where the other 13 claimed Korean-table pins (for example close, publish, public, pin, button, divider) are defined, so t…
Out of Scope Changes check Inconclusive The visible change in locale-search-keyword-overrides.mjs is limited to Korean keyword pins for the terms named in #46946. The line 'check #' is unchanged context, only its trailing comma differs; it … Provide the ko.json and locale-ko-key-overrides.json diffs at the reviewed head. Confirm that every changed value maps to one of the 34 listed keywords and that no key or other locale changed.
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title "fix(i18n): correct mistranslated Korean settings search keywords" matches the main change. The PR corrects 34 Korean Settings search keywords across the locale files, and the title names th…
Description check Passed The description follows the repository template and fills the key sections. ELI5, What Changed (with a full before/after table), Why, Linked Issue (Fixes #46946), Visual Proof (N/A with reason), Testi…
Full details: Title check

Explanation

The title "fix(i18n): correct mistranslated Korean settings search keywords" matches the main change. The PR corrects 34 Korean Settings search keywords across the locale files, and the title names that change. The title uses a conventional commit prefix and is specific.

Full details: Description check

Explanation

The description follows the repository template and fills the key sections. ELI5, What Changed (with a full before/after table), Why, Linked Issue (Fixes #46946), Visual Proof (N/A with reason), Testing (commands run, the repair-diff check, and the untested items), Performance (None, with reason), Risk (Level: Low, with a revert path), AI Disclosure, and the Checklist are all present. The Review and Notes sections add cross-platform and SSH notes. The description states what it did not test, which is the macOS-only testing and the absence of an app run. The only gap is that the HTML comment template text remains in the ELI5 and some other sections, which is cosmetic and does not affect completeness.

Full details: Linked Issues check

Explanation

Issue #46946 requires correcting 34 Korean Settings search keywords so Korean queries match their settings. The verified part is the Korean table in config/scripts/locale-catalog/locale-search-keyword-overrides.mjs. The diff adds 13 pins: tray, permission, dialog, repository, repository icon, repository name, commit message, monorepo, opt out, modifier, placement, margin, loudness. The PR states 26 Korean table entries, so 13 pins are not visible in this diff. Those entries may be pinned elsewhere, but this review did not confirm it. The ko.json value changes and the 4 entries in locale-ko-key-overrides.json could not be read. The inspection of locale-ko-key-overrides.json returned that the changed blobs are missing from the checkout. Therefore the 34 new values in ko.json and the pins for the artifact keywords and rate limit cannot be confirmed from source. The claimed search-matching results rest on the PR author's script, not on code this review ran.

Resolution

Provide readable access to the ko.json diff and to the locale-ko-key-overrides.json diff at the reviewed head. Confirm where the other 13 claimed Korean-table pins (for example close, publish, public, pin, button, divider) are defined, so that catalog repair keeps them. Then reassess that the 34 values match the issue list.

Full details: Out of Scope Changes check

Explanation

The visible change in locale-search-keyword-overrides.mjs is limited to Korean keyword pins for the terms named in #46946. The line 'check #' is unchanged context, only its trailing comma differs; it is not a new key. The raw change summary for ko.json reports changes across orchestration, browser, appearance, and notification wording. The PR describes these as the 34 keyword values. The ko.json diff and locale-ko-key-overrides.json diff could not be read. Therefore this review cannot confirm that no unrelated catalog value or override changed.

Resolution

Provide the ko.json and locale-ko-key-overrides.json diffs at the reviewed head. Confirm that every changed value maps to one of the 34 listed keywords and that no key or other locale changed.

  • 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: bbf83a17-7366-459f-a119-cd9848d3a6dc
Commits

Reviewing files that changed from the base of the PR and between a292346 and 2c7e6a3.

Files selected for processing: 3

  • config/scripts/locale-catalog/locale-ko-key-overrides.json
  • config/scripts/locale-catalog/locale-search-keyword-overrides.mjs
  • src/renderer/src/i18n/locales/ko.json
Files skipped from review as they are similar to previous changes: 2

  • config/scripts/locale-catalog/locale-ko-key-overrides.json
  • src/renderer/src/i18n/locales/ko.json

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

Korean settings search keywords that machine translation got wrong (tray as
쟁반, permission as 허가, dialog as 대화, loudness as 큰 소리, opt out as
탈퇴, and others) or left half in English (repos 아이콘, commit 메시지,
모노 repo) now use the term the Korean UI shows, so a Korean query reaches
the setting. Values that were already valid Korean are left alone.

The new values are pinned in the Korean search keyword table and the ko key
overrides so a catalog repair keeps them.

Fixes stablyai#46946

Co-authored-by: Neil <[email protected]>
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]: Korean UI: Settings search keywords are mistranslated, so Korean queries miss settings

2 participants