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

When I try to translate "says goooo" and "Naguará me moría", I get TypeError

Open thawon opened this issue 3 years ago • 0 comments

Hi there,

When I try to translate "says goooo" and "Naguará me moría", I get TypeError.

The error details is below: "TypeError: Cannot read property 'forEach' of null\n at translate (/app/node_modules/@iamtraction/google-translate/src/index.js:108:17)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"

I am able to reproduce the error every time I try to translate "says goooo" and "Naguará me moría"

As I look further into the investigate, I found that the same thing happens on Google Translate as well: Google Translate when on the "DETECT LANGUAGE" mode, it is unable to recognize "says goooo" therefore, it return the result as blank.

Now, I just wondered why we have encounter this issue before. Did Google Translate has recently updated?

Regards,

thawon avatar Apr 17 '22 02:04 thawon