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 `