i18n: add Korean (ko) translation#630
Open
moduvoice wants to merge 1 commit into
Open
Conversation
Add frontend/src/i18n/locales/ko.json with a complete Korean translation of all UI strings, matching the existing en/ja/zh_CN/zh_TW structure key-for-key. Register the new locale across the language switcher: i18n resources (i18n/index.ts), LanguageCode type and browser-locale detection (store/settings-store.ts), the language select in Settings > General (app/setting/general.tsx), the <html lang> mapping (root.tsx), and the self-referential "ko" option label added to every existing locale file.
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
frontend/src/i18n/locales/ko.jsonwith full Korean translation (273 keys, 1:1 parity withen.json)frontend/src/i18n/index.ts(i18next resources)kooption label ("한국어") to the language switcher in each existing locale file (en.json,ja.json,zh_CN.json,zh_TW.json) — no other strings in these files were touchedkoSelectItemto the language dropdown infrontend/src/app/setting/general.tsxLanguageCodeand browser-language auto-detection (ko-KR→ko) infrontend/src/store/settings-store.tskoto the<html lang>attribute (ko) infrontend/src/root.tsxTesting
ko.jsonhas exact key parity withen.json(273/273 keys, no missing/extra)en.json/ja.json/zh_CN.json/zh_TW.jsonare limited to the single newkooption-label linebun run check:fix(Biome) — no issues, no fixes appliedbun run typecheck— passes with no errors