Lukas
f7b0af78cb
fix(lang): pick Traditional Chinese for Hong Kong and Macao system locales ( #16671 )
...
* fix(lang): pick Traditional Chinese for Hong Kong and Macao system locales
With no language chosen in Settings, resolve_lang picks zh-tw only when the system locale contains tw. Hong Kong and Macao locales (zh_HK, zh-Hant-HK, zh_HK_#Hant, zh_MO) and a bare zh-Hant got Simplified Chinese, although they write Traditional Chinese. Pick zh-tw for them too, unless the locale names the Hans script.
* test(lang): cover a bare zh-Hant locale
2026-10-23 16:49:51 +08:00
..
2026-10-14 14:45:22 +08:00
2026-10-21 11:55:00 +08:00
2026-10-12 10:56:50 +08:00
2026-10-14 14:45:22 +08:00
2026-10-13 21:31:44 +08:00
2026-10-23 15:48:35 +08:00
2026-10-22 18:27:35 +08:00
2026-10-14 14:45:22 +08:00
2026-10-21 16:02:32 +08:00
2026-09-18 16:54:11 +08:00
2026-10-14 14:45:22 +08:00
2026-10-14 14:45:22 +08:00
2025-09-06 20:35:51 +08:00
2026-10-14 14:45:22 +08:00
2024-08-12 18:08:33 +08:00
2026-10-15 19:52:19 +08:00
2026-09-26 11:25:12 +08:00
2026-09-25 11:34:01 +08:00
2026-10-20 22:12:00 +08:00
2026-10-14 14:45:22 +08:00
2026-10-15 10:30:06 +08:00
2026-10-20 22:52:48 +08:00
2026-10-13 21:31:44 +08:00
2026-07-09 15:05:49 +08:00
2026-10-14 16:26:46 +08:00
2026-10-14 14:45:22 +08:00
2026-10-13 21:31:44 +08:00
2026-07-14 15:35:52 +08:00
2026-10-23 16:49:51 +08:00
2026-10-12 10:56:50 +08:00
2026-10-22 13:34:49 +08:00
2026-10-14 14:45:22 +08:00
2024-04-25 11:46:21 +08:00
2026-10-14 14:45:22 +08:00
2026-10-14 14:45:22 +08:00
2026-10-10 16:02:29 +08:00
2026-10-14 14:45:22 +08:00
2026-10-14 22:49:35 +08:00
2026-10-12 10:56:50 +08:00
2026-09-08 11:46:42 +08:00
2026-10-14 14:45:22 +08:00
2026-10-22 13:34:49 +08:00
2026-10-13 21:31:44 +08:00
2026-07-06 16:17:32 +08:00
2026-10-12 10:56:50 +08:00
2026-10-14 14:45:22 +08:00
2026-10-12 10:56:50 +08:00
2026-10-12 10:56:50 +08:00
2026-09-08 11:46:42 +08:00