forked from matheuss/google-translate-api
-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.forEach error of null #67
Comments
I'm not getting any error translate('Good', {from: 'english', to: 'spanish'}) returns
|
Ok turns out it is a bit random, when Google decided to use gender specific translation the error could be triggered |
Yeah, this happens a lot now. That's weird... Is there a possible fix or someway to tell Google not to use gender-specific translations? |
I don't know, but you can perform actions which is allowed in the Web UI #68 now uses the first gender-specific result from Google |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please look at this issue for reference.
Essentially specific words trigger the .forEach error, not links as you said before
If you use the word "Good" and translate that to spanish from english the error shall be thrown and no translation shall be provided. These words or phrases which result in the dropping of the translation due to an empty value in the arrays is causing these issues and I have no possible idea as to why this would occur.
Any ideas on why and how to fix it? @vitalets @vkedwardli
The text was updated successfully, but these errors were encountered: