docs: simplify Chinese localization notes

This commit is contained in:
German Khokhlov committed 2026-10-22 22:29:24 +04:00
1 parent 1416266bcb
commit 2c3b364069
4 files changed
+9 -17

No files matched your search

+2 -3
View File
@@ -3429,9 +3429,8 @@ Shipped locales: **en** (source and fallback), **es**, **ru** and **zh-CN**. The
value). English has no catalog; every other locale is
`src/i18n/locales/<code>.json`, and a missing entry falls back to English.
- **Locale choice.** `?lang=` → stored choice (`gev:locale:v1`) →
`navigator.languages` → English. Any `zh` tag maps to `zh-CN` except
Traditional ones (`Hant`, `TW`, `HK`, `MO`), which fall through until a
Traditional catalog ships. `?lang=` is not stored, and share links drop
`navigator.languages` → English. Chinese tags map to `zh-CN`; tags containing
`Hant`, `TW`, `HK` or `MO` are skipped. `?lang=` is not stored, and share links drop
it, so a recipient keeps their own language. The globe picker in the
bottom-right corner (`src/ui/localePicker.js`) stores the choice, drops
`?lang=` (keeps it only when storage is blocked) and reloads. It asks first