Open danielMicallef opened 3 years ago
I agree with implementing iso639. I do not see the codes zh-cn
, zh-tw
in the ISO639 and have to convert them to zh
in order to display the language name using the iso-639 package.
Then, I guess for now the only solution is making a <iso-code>.split('-')[0]
Using a library like iso639 it would be very useful for the main functions
detect
anddetect_langs
to support output of languages in different (more modern) iso formats likeiso-639-3