google / cld3

Apache License 2.0
795 stars 111 forks source link

Please support Traditional Chinese to return "zh-Hant" code. #93

Open yk154 opened 9 months ago

yk154 commented 9 months ago

Hello,

I've noticed that CLD3 is currently outputting BCP-47-style language codes, but it does not differentiate between Traditional and Simplified Chinese characters, returning the generic code zh for both scripts.

This issue was previously discussed in https://github.com/google/cld3/issues/34 back in 2020. Is it possible to reintroduce support for Traditional Chinese so that CLD3 returns the more specific code zh-Hant, similar to what "CLD-2018" used to offer?

Thank you for your consideration!

mariozaizar commented 9 months ago

+1