Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

docs: simplify Chinese localization notes

German Khokhlov2c3b364069d5
diff --git a/changelog.d/1298-simplified-chinese.md b/changelog.d/1298-simplified-chinese.md
index e6850e964..d35d08cf1 100644
--- a/changelog.d/1298-simplified-chinese.md
+++ b/changelog.d/1298-simplified-chinese.md
@@ -1,6 +1,4 @@
-- Add Simplified Chinese (zh-CN) as an interface language, selectable from
- the globe picker. The catalog builds on the Chinese translations by
- @abiyeenzo (#914) and @EDIT-Aeterna (#979); the rest was translated and the
- whole catalog reviewed against the screens. Chinese text gets tight tracking
- and readable minimum sizes, and year-first dates read 2021年10月16日
+- Add Simplified Chinese (zh-CN) to the language picker, with localized dates
+ and readable Chinese labels. Based on translations by @abiyeenzo (#914)
+ and @EDIT-Aeterna (#979).
(German, @gekh, #1298).
diff --git a/docs/CURRENT-STATE.md b/docs/CURRENT-STATE.md
index de60d3f34..3e61080ab 100644
--- a/docs/CURRENT-STATE.md
+++ b/docs/CURRENT-STATE.md
@@ -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
diff --git a/docs/translations/zh-CN.md b/docs/translations/zh-CN.md
index 33f7c7251..e3b7bcad1 100644
--- a/docs/translations/zh-CN.md
+++ b/docs/translations/zh-CN.md
@@ -2,9 +2,7 @@
Catalog: `src/i18n/locales/zh-CN.json`. General rules: [TRANSLATORS.md](../TRANSLATORS.md).
-The catalog started from the Chinese locale by abiyeenzo (#914) and the
-Simplified Chinese localization by EDIT-Aeterna (#979); the rest was translated
-for the current English and reviewed against both.
+Translation sources: abiyeenzo (#914) and EDIT-Aeterna (#979).
## Style
diff --git a/src/ui/styles/cjk.css b/src/ui/styles/cjk.css
index 9ecfa0ce3..3c01d3987 100644
--- a/src/ui/styles/cjk.css
+++ b/src/ui/styles/cjk.css
@@ -1,7 +1,5 @@
-/* Chinese text. The UI sets Latin capitals with wide tracking; Chinese set
- that way falls apart into single glyphs, so its tracking stays tight. The
- intel HUD readouts (codes, coordinates) and text kept in English on purpose
- (translate="no", and whatever holds it) keep the Latin look. */
+/* Tight tracking keeps Chinese labels readable; preserve Latin tracking for
+ intel HUD readouts and content marked translate="no", including its containers. */
html:lang(zh)
body
:not(
@@ -14,8 +12,7 @@ html:lang(zh)
letter-spacing: 0.02em !important;
}
-/* Below about 9px a Chinese glyph blurs: lift the dock's voice labels and the
- panel layer buttons to that floor. */
+/* Keep small Chinese labels legible at a minimum of 9px. */
html:lang(zh) #command-dock .gev-mic-label,
html:lang(zh) #command-dock #gev-voice-detail,
html:lang(zh) .gev-voice-tier-btn,