Skip to content

Add Korean (ko) locale - #818

Open
jamie-dongjae wants to merge 1 commit into
HarnessMD:mainfrom
jamie-dongjae:i18n-ko
Open

jamie-dongjae wants to merge 1 commit into
HarnessMD:mainfrom
jamie-dongjae:i18n-ko

Conversation

@jamie-dongjae

Copy link
Copy Markdown

What & why

Adds a Korean (ko) locale: src/renderer/src/i18n/locales/ko.json with all 1170 strings of en.json translated, and the ko entry registered in src/renderer/src/i18n/index.ts (resources, supportedLngs, and the language list, labelled 한국어). Korean-speaking users currently get the English fallback; with this change they can pick 한국어 in Settings → General → Language and the whole interface follows.

The key set is identical to en.json and every interpolation placeholder ({{count}}, {{name}}, …) is kept as in en.json, both checked by script. Product names, commands and model ids (Claude Code, Codex, /skill, …) stay in English, as in the other locales.

How the translation was made, so reviewers know what they are looking at: the strings were machine-translated in 40-string batches with a language model, each batch validated by script (keys, placeholders, no untranslated leftovers), then spot-read in the running app (Settings, Command Center, the agent bar, see the screenshot). A native speaker's pass over the whole file is welcome; corrections are easy to send as follow-ups.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Docs
  • Build / CI

Evidence

Both shots: the same scratch config, window 1440×900, Settings → General scrolled to the Language row. The images live on the i18n-ko-evidence branch of my fork.

Before

main: the Language list offers English, 简体中文 and العربية only; a Korean user sees the English interface.

Before: Settings in English, no Korean in the language list

After

This branch with 한국어 selected: the language list has 한국어 and Settings, the Command Center tabs and the agent bar are rendered in Korean.

After: Korean selected, interface in Korean

Checks

  • npm run typecheck: green
  • npm run test:focused: one failure, the Codex model-list expectation, which fails the same way on main without this change
  • npm run build: green

Agent review

I ran a coding agent over the diff with the questions from CONTRIBUTING. Cross-platform behaviour, paths with spaces and provider neutrality: nothing to flag, the change is a JSON file plus four lines registering it, no paths or provider strings. Performance: the locale is bundled eagerly like the existing ones (about 90 KB more renderer bundle), nothing in a hot path. Security: static strings only. Flagged and left as is: the pixel display font has no Hangul glyphs, so headings such as the Settings navigation fall back to the system font at a small size (visible in the After shot); the existing 简体中文 locale behaves the same way, and a font change would be a separate PR.

This branch has not been deployed

No deployments
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