google-translate-api icon indicating copy to clipboard operation
google-translate-api copied to clipboard

What’s the language code for Chinese (not zh?)

Open tomsoderlund opened this issue 8 years ago • 3 comments

zh is not working, nor is zh-Hant.

tomsoderlund avatar Nov 01 '17 23:11 tomsoderlund

zh-cn

sNaticY avatar Nov 13 '17 00:11 sNaticY

https://github.com/matheuss/google-translate-api/blob/777d7db94f82ec402e7758af1549818c07d55747/languages.js#L25

gucong3000 avatar Aug 22 '18 05:08 gucong3000

Both zh and zh-cn are supported as of v2.8.0 in https://github.com/vitalets/google-translate-api.

rawr51919 avatar Mar 19 '19 13:03 rawr51919