vitalets / google-translate-api

A free and unlimited API for Google Translate :dollar: :no_entry_sign:
MIT License
936 stars 120 forks source link

Alias he to iw for Hebrew #92

Closed AidanWelch closed 2 years ago

AidanWelch commented 2 years ago

It seems like it would make more sense for he to alias to iw instead of Hebrew aliasing to both iw and he. This is especially problematic because he is not the Google Translate accepted code, if if Hebrew is input it could lead to missed translation.

AidanWelch commented 2 years ago

Never mind, apparently he works, though I can't say I understand why.

AidanWelch commented 2 years ago

Apparently Google Translate accepts he in the API but not in https://translate.google.com/?sl=auto&tl=he&op=translate