Jump to content

Improve language detection for zh-Hant-TW


Recommended Posts

Yuchenjimmy
Posted (edited)

Hello, I have several movies with embedded subtitles, however, emby doesn't recognize "zh-Hant-TW", and still labeled it with "Chinese Simplified". Strangly enough, it recognize "zh-Hant-HK" and labeled it correctly with "Chinese Traditional". Please help me figure out if it's a bug or am I doing something wrong.

 

螢幕擷取畫面 2024-12-02 213028.png

MKVToolNix GUI v88.0 ('All I Know') 64-bit 2024_12_2 下午 09_29_58.png

Edited by Yuchenjimmy
  • Like 1
Posted

Hi, where does zh-Hant-TW come from?

 Can’t you use zh-Hant?

Yuchenjimmy
Posted

Hello, I've tried using zh-TW, zh-HK, zh-Hant-TW, and zh-Hant-HK, including zh-Hant, and zh-Hant is labeled as "Chinese Simplified" as well.

Posted
12 hours ago, Yuchenjimmy said:

including zh-Hant, and zh-Hant is labeled as "Chinese Simplified" as well.

isn't that correct though?

Yuchenjimmy
Posted (edited)

Both Taiwan and Hong Kong use Traditional Chinese, but with slighty different; therefore, we need different ISO codes for better usage. Anyway, zh-TW, zh-HK, zh-Hant-TW, zh-Hant-HK, z-Hant, all should be Chinese Traditional. The "t" in zh-Han"t" means for "Traditional", and zh-Han"s" is the one for "Simplified".

Edited by Yuchenjimmy
  • Thanks 1
Posted

OK we'll add support for these two. Thanks.

  • 3 months later...
Yuchenjimmy
Posted
On 12/11/2024 at 8:36 AM, Luke said:

OK we'll add support for these two. Thanks.

Hello, this problem is still there. Also, I think Chinese language codes without region specified, such as chi, zh, should only be labeled as "Chinese" instead of "Simplified Chinese", that's really unfair for traditional Chinese users. pic 3 is how your "relatives" handle this problem.
 image.png.d28f50157f34d647b63ada0b646f7c61.png
image.png.4b7e9646d9de9545295f54548db5f25d.png

image.png.a7f229a36614ae57893b9fc805ac016f.png

Yuchenjimmy
Posted (edited)

Expected results would be:

Chinese:

chi

zh

 

Traditional Chinese:

zh-Hant

zh-TW

zh-HK

zh-TW-Hant

zh-HK-Hant

 

Simplified Chinese:

zh-Hans

zh-CN

zh-CN-Hans
Edited by Yuchenjimmy
Posted

All of these are already supported except for zh-HK-Hant and zh-CN-Hans, so we'll add those.

Yuchenjimmy
Posted

Hello, thst's minor. The major problem is you can see zh-Hant is still listed as "Chinese Simplified".

Yuchenjimmy
Posted (edited)

And I suggest seperate zh-TW and zh-HK as well. For instance:

Chinese Traditional

zh-Hant

Chinese Traditional (Taiwan)

zh-TW

zh-TW-Hant

Chinese Traditional (Hongkong)

zh-HK

zh-HK-Hant

 

Edited by Yuchenjimmy
  • Thanks 1
Yuchenjimmy
Posted

Last but not least, please do consider make zh and chi show as Chinese, instead of Chinese Simplified.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...