feat(i18n): add Korean (ko) translation - #619
Open
moduvoice wants to merge 1 commit into
Open
Conversation
Add ko.json covering all 972 keys from en.json (full key parity, all
{{placeholder}} interpolations preserved) and register the ko locale
in i18n/index.ts and the language toggle, following the same pattern
used for the existing zh locale.
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
ui/src/i18n/locales/ko.jsonwith all 972 keys fromen.jsontranslated to Korean, following the same structure and key parity asen.json/zh.json.koresource inui/src/i18n/index.ts.{ code: 'ko', name: '한국어' }to the language list inui/src/components/language-toggle.tsx, following the existingen/zhpattern.Testing
ko.jsonhas exactly the same 972 leaf keys asen.json(0 missing, 0 extra), via a flatten-and-diff script.{{placeholder}}interpolation tokens (e.g.{{resource}},{{name}},{{count}}) are preserved identically betweenen.jsonandko.jsonfor every key.ko.jsonis valid JSON.zh.jsonlocalization convention in this project.