Closed verhovsky closed 4 years ago
Howdy these sound like either API backend issues or documentation issues not related to the library itself.
Please file backend API issues here: https://cloud.google.com/support/docs/issue-trackers or docs issues directly on the docs page: https://cloud.google.com/translate/docs/languages via the "Send Feedback" button.
My guess is that you can input either, but we probably only return 1.
https://cloud.google.com/translate/docs/languages says that Hebrew is a supported language with two language codes "he or iw". But when you do
get_supported_languages
, only the latter is returned. Same for "zh" and "zh-CN".outputs
Or you could just return
he
instead, sinceiw
was withdrawn in 1989. https://www.loc.gov/standards/iso639-2/php/code_list.php gives the ISO 639-1 code of Hebrew ashe
.Regardless of that, you should still also return
zh
in that list.