Skip to content

feat: add Korean (ko-KR) translation#1071

Open
moduvoice wants to merge 1 commit into
vuejs:mainfrom
moduvoice:feat/ko-i18n-translation
Open

feat: add Korean (ko-KR) translation#1071
moduvoice wants to merge 1 commit into
vuejs:mainfrom
moduvoice:feat/ko-i18n-translation

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 locales/ko-KR.json with a full Korean translation of all CLI prompt text, mirroring the key structure of locales/en-US.json.
  • No changes needed to utils/getLanguage.ts β€” it auto-discovers locale files by filename, so ko-KR.json is picked up automatically for systems with a ko_KR / ko-KR locale.

Testing

  • Verified ko-KR.json has full key parity with en-US.json (same 38 leaf keys, same nesting, same order).
  • Ran the existing __test__/locale.spec.ts suite (pnpm vp test __test__/locale.spec.ts) β€” all 5 locale-parity tests pass, including the new one for ko-KR.
  • Ran vp fmt --check on the new file to confirm it matches the project's formatting conventions.

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