Mimino666 / langdetect

Port of Google's language-detection library to Python.
Other
1.72k stars 198 forks source link

zh-cn and zh-tw are not technically ISO639-1 #113

Open brianshin22 opened 1 month ago

brianshin22 commented 1 month ago

Any support for changing langdetect output for Chinese to just "zh" to strictly follow ISO639-1 code? In my case, it affects compatibility with python-iso639 package. Thanks!

Wolf-Alexander commented 1 month ago

Yes I also think it would be much better to just change it to zh. It also causes problems in my project so I also think, that they should change it