Skip to content

feat(i18n): add Korean (ko) translation#550

Open
moduvoice wants to merge 1 commit into
nashsu:mainfrom
moduvoice:i18n/add-korean
Open

feat(i18n): add Korean (ko) translation#550
moduvoice wants to merge 1 commit into
nashsu:mainfrom
moduvoice:i18n/add-korean

Conversation

@moduvoice

Copy link
Copy Markdown

Motivation

This adds Korean (ko) translation support — to help Korean-speaking users use this
open-source project more comfortably in their own language.
(한국 사람들의 오픈소스 이용에 도움이 되게 하기 위해서 한글화 작업을 하였습니다.)

Changes

  • Add src/i18n/ko.json — a complete Korean translation of every key in en.json (710 leaf keys), mirroring the existing en/zh bundle structure, including nested objects and _plural key pairs.
  • Register the ko bundle in src/i18n/index.ts alongside en and zh.
  • Add 한국어 (Korean) to the UI Language picker in src/components/settings/sections/interface-section.tsx.

No application logic was changed — this PR only adds a translation bundle and registers it at the same two points where Chinese (zh) is already registered.

Testing

  • Wrote a one-off script to flatten and diff the key sets of en.json vs ko.json: 710/710 keys match with 0 missing/extra keys.
  • Verified every {{placeholder}} interpolation token in en.json has an identical counterpart in ko.json for every key (0 mismatches).
  • Verified no empty/non-string leaf values in ko.json.
  • npm run typecheck passes.
  • npm run test:mocks passes (110 test files / 1596 tests, including the existing src/i18n/i18n-parity.test.ts for en/zh).

- Add src/i18n/ko.json with a full Korean translation of every key in
  en.json (710 leaf keys), mirroring the existing en/zh structure and
  preserving all {{placeholder}} interpolations and plural key pairs.
- Register the ko bundle in src/i18n/index.ts alongside en and zh.
- Add Korean (한국어) to the UI Language picker in
  interface-section.tsx.
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