feat(dashboard): add Korean (ko) translation#37
Open
moduvoice wants to merge 1 commit into
Open
Conversation
Adds a ko.ts sibling to every locale namespace (common + all 9 features) with full key parity to en, registers ko in SUPPORTED_LANGUAGES/ LANGUAGE_NAMES and the i18n resource aggregation, and extends the locale-parity test to also check en/ko parity for the namespaces it already covers.
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
ko.tslocale file next to every existingen.ts/zh.tspair:dashboard/src/common/locales/and all 9 feature namespaces (api-keys,auth,databases,keyvalue,logs,metrics,services,team,usage,workspaces) — 592 keys total, full parity withen, placeholders ({name},{email}, etc.) preserved exactly.koinSUPPORTED_LANGUAGES/LANGUAGE_NAMES(src/i18n/config.ts) and wired its imports into theen/zh/koresource aggregation insrc/i18n/index.ts, following the existing "Adding a language" recipe.src/i18n/__tests__/locale-parity.test.tsto also assert en/ko key parity for the namespaces it already covers (common, auth, metrics, services).descriptionfields (translator-facing notes, not shown to users) were left in English, matching the existingzh.tsconvention.Testing
yarn test— all 93 test files / 573 tests pass, including the extended locale-parity suite.yarn typecheckandyarn lint— clean, no errors.yarn build— production build succeeds.yarn prettier --check— all new/changed files pass formatting.