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

It often does not translate individual words. #508

Closed FiveFme closed 9 months ago

FiveFme commented 9 months ago

Target/Second language doesn't matter. It was even in version 2.8.1.

Didn't used to be the case.

FireFox 117.0.1 (64-bit).

tarasverq commented 9 months ago

Same here.

TypeError: e.terms is undefined [content.js:2:172597] (moz-extension://4e166bea-5c19-4863-9693-a6d70c4f438a/content/content.js)

But okay with 2+ words image

gashihiko commented 9 months ago

I have the same problem with my Firefox for Arch Linux 117.0.1 (64-bit). Simple Translation is version 2.8.2. Console shows e.terms is undefined.

gashihiko commented 9 months ago

Seems like this problem often happens with English words. Even if I set the default language to Russian from Japanese and the secondary to Italian from English, single English words can't be translated very often. Single words in other languages can be translated correctly. But some English words like "Firefox" can be translated.

And the problem doesn't happen when I set the default language to English. English to English translation shows a result for every single English word.

NineMeowICT commented 9 months ago

Same here.

gashihiko commented 9 months ago

Oh, it might be a duplicate of #505 and #506, and it has been solved by #507.

amordo commented 9 months ago

Same here, chrome. Earlier had no such problem, bug with update?

francesco-cadei commented 9 months ago

Same:

llleeexxxoooppp commented 9 months ago

Same problem on last 4 days. Single words don't translating, but with chunk of text it works. That's went after last update of simple translate as i assume. Languages: English and Russian| Simple Translate 2.8.2| Firefox 117.0 (64-bit)| Mozilla Firefox for Ubuntu canonical-1.0| KDE Neon

OnurDnz commented 9 months ago

Same problem

SilentPrayeCG commented 9 months ago

Same problem there.

Arjentix commented 9 months ago

Same here.

I hope @sienori will not abandon it

FiveFme commented 9 months ago

It seems to be working for me now. I didn't do anything. Someone please tell me if they still have this problem. Otherwise, I'll close issue.

SilentPrayeCG commented 9 months ago

I also noticed that it seems to be working fine again. Maybe it was something with google translate service itself?

llleeexxxoooppp commented 9 months ago

It seems to be working for me now. I didn't do anything. Someone please tell me if they still have this problem. Otherwise, I'll close issue.

Yes it is now, after updating Firefox to 118

OPerepadia commented 9 months ago

I'm still using Firefox 117.0.1 and Simple Translate version 2.8.2, but it seems to be working again for me too

OnurDnz commented 9 months ago

In Firefox 117.0.1, working like a charm

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.