feat: add Korean (ko-KR) translation#1071
Open
moduvoice wants to merge 1 commit into
Open
Conversation
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
locales/ko-KR.jsonwith a full Korean translation of all CLI prompt text, mirroring the key structure oflocales/en-US.json.utils/getLanguage.tsβ it auto-discovers locale files by filename, soko-KR.jsonis picked up automatically for systems with ako_KR/ko-KRlocale.Testing
ko-KR.jsonhas full key parity withen-US.json(same 38 leaf keys, same nesting, same order).__test__/locale.spec.tssuite (pnpm vp test __test__/locale.spec.ts) β all 5 locale-parity tests pass, including the new one forko-KR.vp fmt --checkon the new file to confirm it matches the project's formatting conventions.