From 0728148657a1bdeabb2a3800af4d2df7ff51ab6a Mon Sep 17 00:00:00 2001 From: Appcaster Date: Thu, 6 Aug 2026 05:47:33 +0900 Subject: [PATCH] Add Korean UI localization (#2895) * Add Korean UI localization Refreshes the Korean translation from #1544 against the current client locale surface and adds cross-platform locale detection coverage.\n\nCo-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com> * fix(i18n): preserve reviewed Korean status labels Restore the wording corrections contributed in the original Korean localization work and lock them with exact-copy assertions. Co-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com> --------- Co-authored-by: Mohamed Boudra Co-authored-by: JinHyeok Jeong <150323322+Kesta-bos@users.noreply.github.com> --- docs/i18n.md | 6 +- .../app/e2e/browser/settings-i18n.spec.ts | 18 + packages/app/src/i18n/i18next.ts | 2 + packages/app/src/i18n/locales.test.ts | 18 +- packages/app/src/i18n/locales.ts | 55 +- packages/app/src/i18n/resources.test.ts | 10 + packages/app/src/i18n/resources/ar.ts | 1 + packages/app/src/i18n/resources/en.ts | 1 + packages/app/src/i18n/resources/es.ts | 1 + packages/app/src/i18n/resources/fr.ts | 1 + packages/app/src/i18n/resources/ja.ts | 1 + packages/app/src/i18n/resources/ko.ts | 2329 +++++++++++++++++ packages/app/src/i18n/resources/pt-BR.ts | 1 + packages/app/src/i18n/resources/ru.ts | 1 + packages/app/src/i18n/resources/zh-CN.ts | 1 + 15 files changed, 2424 insertions(+), 22 deletions(-) create mode 100644 packages/app/src/i18n/resources/ko.ts diff --git a/docs/i18n.md b/docs/i18n.md index 90e9ff326c..b3653a8b1d 100644 --- a/docs/i18n.md +++ b/docs/i18n.md @@ -9,11 +9,12 @@ Paseo client UI translations live in `packages/app/src/i18n`. - `es` - `fr` - `ja` +- `ko` - `pt-BR` - `ru` - `zh-CN` -The persisted app language setting is `"system" | "ar" | "en" | "es" | "fr" | "ja" | "pt-BR" | "ru" | "zh-CN"`. `"system"` follows the device or browser locale when it maps to a supported locale; unsupported system locales fall back to English. Japanese maps from system locales `ja` and Japanese regional locales. Brazilian Portuguese maps from system locales `pt-BR` and bare `pt`; other Portuguese regional locales remain unsupported until explicitly added. +The persisted app language setting is `"system" | "ar" | "en" | "es" | "fr" | "ja" | "ko" | "pt-BR" | "ru" | "zh-CN"`. `"system"` follows the device or browser locale when it maps to a supported locale; unsupported system locales fall back to English. Japanese maps from system locales `ja` and Japanese regional locales. Korean maps from system locales `ko` and Korean regional locales. Brazilian Portuguese maps from system locales `pt-BR` and bare `pt`; other Portuguese regional locales remain unsupported until explicitly added. ## Translation Scope @@ -23,7 +24,7 @@ Do not translate agent output, daemon output, terminal contents, file paths, pro ## Adding Copy -English source strings live in `packages/app/src/i18n/resources/en.ts`. Simplified Chinese strings live in `packages/app/src/i18n/resources/zh-CN.ts`. +English source strings live in `packages/app/src/i18n/resources/en.ts`. Each supported locale has a matching resource in `packages/app/src/i18n/resources`. For migrated screens and components, use `useTranslation()` and pass translated text into UI primitives. Low-level primitives such as `