sienori / simple-translate

WebExtensions for translating text on web pages
http://simple-translate.sienori.com/
Mozilla Public License 2.0
1.08k stars 118 forks source link

TypeError: e.terms is undefined when target laguage is not English #505

Closed athanro closed 9 months ago

athanro commented 9 months ago

Just select text or select text and right click and click "Translate selected text" and in browser console you get TypeError: e.terms is undefined in content.js:2:172666

All setting are default except target language was changed to other language than English, doesn't matter which. User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0 No other addons.

pouyacodes commented 9 months ago

The same issue #506 with more details.

sienori commented 9 months ago

This seems to have been fixed by a change in Google's API. Simple Translate also fixed with https://github.com/sienori/simple-translate/pull/507.