ShikiSuen
Well-known member
- Affected version
- 2.1.9
XenForo till 2.1.9 still uses deprecated HTML language tags for Chinese locales like "zh-CN", "zh-TW", "zh-HK".
At least, this hinders Safari from picking up correct Chinese fallback fonts.
(in vBulletin 3.8 this is user-editable, but in XenForo it is only a dropdown menu, hence the necessity of filing this bug report.)
Since these are locale markers, not language markers, hence my omission of tags of minor sinolanguages like Cantonese, Shanghainese, etc.
Here are correct tags for both language and locale (including currency format):
For reference purposes, here are all correct tags usable in the HTML header:
At least, this hinders Safari from picking up correct Chinese fallback fonts.
(in vBulletin 3.8 this is user-editable, but in XenForo it is only a dropdown menu, hence the necessity of filing this bug report.)
Since these are locale markers, not language markers, hence my omission of tags of minor sinolanguages like Cantonese, Shanghainese, etc.
Here are correct tags for both language and locale (including currency format):
Code:
zh-Hans-CN [Chinese Simplified, Mainland China]
zh-Hans-SG [Chinese Simplified, Singapore]
zh-Hant-HK [Chinese Traiditional, Hongkong]
zh-Hant-MO [Chinese Traiditional, Macau]
zh-Hant-TW [Chinese Traiditional, Taiwan & Penghu & Jinmen & Mazu]
For reference purposes, here are all correct tags usable in the HTML header:
Code:
zh-Hans [Simplified Chinese]
zh-Hans-CN [Used in Mainland China] [Simplified Chinese]
zh-Hans-HK [Used in HK] [Simplified Chinese]
zh-Hans-MO [Used in Macau] [Simplified Chinese]
zh-Hans-SG [Used in Singapore] [Simplified Chinese]
zh-Hans-TW [Used in Taiwan, Penghu, Jinmen, Mazu] [Simplified Chinese]
zh-Hant [Traiditional Chinese]
zh-Hant-CN [Used in Mainland China] [Traiditional Chinese]
zh-Hant-HK [Used in HK] [Traiditional Chinese]
zh-Hant-MO [Used in Macau] [Traiditional Chinese]
zh-Hant-SG [Used in Singapore] [Traiditional Chinese]
zh-Hant-TW [Used in Taiwan, Penghu, Jinmen, Mazu] [Traiditional Chinese]
Last edited: