Files
rustdesk/src
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-13 21:31:44 +08:00
2026-10-13 21:31:44 +08:00
2026-10-13 21:31:44 +08:00
2026-07-14 15:35:52 +08:00
2024-04-25 11:46:21 +08:00
2026-07-06 16:17:32 +08:00