feat(i18n): add Korean (ko) translation#550
Open
moduvoice wants to merge 1 commit into
Open
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This adds Korean (
ko) translation support — to help Korean-speaking users use thisopen-source project more comfortably in their own language.
(한국 사람들의 오픈소스 이용에 도움이 되게 하기 위해서 한글화 작업을 하였습니다.)
Changes
src/i18n/ko.json— a complete Korean translation of every key inen.json(710 leaf keys), mirroring the existingen/zhbundle structure, including nested objects and_pluralkey pairs.kobundle insrc/i18n/index.tsalongsideenandzh.한국어(Korean) to the UI Language picker insrc/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
en.jsonvsko.json: 710/710 keys match with 0 missing/extra keys.{{placeholder}}interpolation token inen.jsonhas an identical counterpart inko.jsonfor every key (0 mismatches).ko.json.npm run typecheckpasses.npm run test:mockspasses (110 test files / 1596 tests, including the existingsrc/i18n/i18n-parity.test.tsfor en/zh).