i18n: add Korean (ko) translation#1408
Open
moduvoice wants to merge 1 commit into
Open
Conversation
Add ko_kr.dart with a full Korean translation of all 223 UI strings, following the existing GetX-based translation map convention (see en_us.dart). Register the new locale in message.dart, which is the single source of truth for both the language switcher dropdown and MaterialApp's supportedLocales (both derived from messages.keys.keys).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1408 +/- ##
==========================================
+ Coverage 68.59% 68.69% +0.09%
==========================================
Files 60 60
Lines 9177 9177
==========================================
+ Hits 6295 6304 +9
+ Misses 2184 2175 -9
Partials 698 698 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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/flutter/lib/i18n/langs/ko_kr.dartwith a full Korean (ko_KR) translation map (223 keys).ui/flutter/lib/i18n/message.dart(import + spread into thekeysmap), mirroring exactly how the existingja_jplocale is registered — no other changes.Testing
ko_kr.darthas exactly the same 223 keys asen_us.dart, in the same order, with no missing/extra/duplicate keys (scripted key-set comparison).@-prefixed placeholder (@count,@time,@version,@port,@name,@value,@append) is preserved untouched and in the same relative position as inen_us.dart, per the placeholder convention noted inCONTRIBUTING.md.dart format ./ui/flutterwas not run locally (Flutter/Dart toolchain unavailable in this environment). Formatting/line-wrapping was manually matched toen_us.dart's conventions, but please have CI/a reviewer double-check formatting.