RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.49k stars 10.55k forks source link

zh-HK localization is mostly wrong, being in Simplified Chinese instead of Traditional Chinese #33088

Open alvinhochun opened 2 months ago

alvinhochun commented 2 months ago

Description:

Most of the zh-HK ("Chinese (Hong Kong SAR China)") translations are incorrect. Checking the locale file https://github.com/RocketChat/Rocket.Chat/blob/81629860557f051f7ed1d6d560f8885e587d9c9e/packages/i18n/src/locales/zh-HK.i18n.json , only a small amount of the translations are in Traditional Chinese (using terms typical to Hong Kong and Taiwan), but the vast majority are in Simplified Chinese with Mainland Chinese terms (incorrect for Hong Kong).

Take the term "server" for example: The Traditional Chinese term (applicable for both Hong Kong and Taiwan) is "伺服器". There are 84 occurrences in zh-TW.i18n.json, but surprisingly only 2 in zh-HK.i18n.json.

In contrast, the Simplified Chinese term "服务器" has 48 occurrences in zh-HK.i18n.json, which is frankly ridiculous.

Steps to reproduce:

  1. Go to Account Preferences https://open.rocket.chat/account/preferences
  2. Change language to "Chinese (Hong Kong SAR China)"
  3. Save changes

Expected behavior:

The interface displays in Traditional Chinese text.

Actual behavior:

The interface changes to Simplified Chinese.

Server Setup Information:

Client Setup Information

Additional context

It is clear to me as a Hongkonger that the zh-HK localization has not been maintained correctly. It pains me to say this, but I would rather see the current zh-HK localization be completely removed in favour of a simple fallback from zh-HK to zh-TW.

(Also, please do not ever have zh-HK and zh-TW fall back to "zh".)

Relevant logs:

n/a

reetp commented 2 months ago

Thanks for reporting.

I will refer to the team but I have no idea on the current translation status.

Of course it is open source so we look forward to your PR :-)