Iceggiren i Google™ Translator
Google™ Translator sɣur Andy Portmen
355 n yiceggiren
- Fix for Google Translator addon (broken API)
The addon stopped working because Google discontinued the google.com/async/translate endpoint it relied on, as well as the TKK token system used as fallback.
Solution: Replace the _getEmbedTranslation function in lib/common.js with a call to the stable translate.googleapis.com/translate_a/single?client=gtx API, which requires no token and returns clean JSON.
The new endpoint URL pattern:
h t t p s://translate.googleapis.com/translate_a/single?client=gtx&sl={from}&tl={to}&dt=t&dt=bd&dt=rm&dj=1&q={word}
The response is parsed via data.sentences[].trans to extract the translation, and data.src for the detected source language.
The returned object structure is kept identical to the original so the rest of the addon works without any other changes.
How to apply: Open the .xpi file with 7-Zip, navigate to lib/common.js, and replace it with the patched version. - Yettwasezmel 1 ɣef 5sɣur Aseqdac Firefox 14267898, 7 天前Stopped working. Addon needs to update some data from 'translate.google.com', please try again after few seconds...
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 13597916, 8 個月前The best UI to translate unfamiliar word or phrase.
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 13998572, 8 個月前
- Yettwasezmel 1 ɣef 5sɣur Vitaly Zdanevich, 10 個月前Permission "Access your data for all websites" is not needed when working with the current page only.
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 18494658, 2 年前
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 16064369, 2 年前Finally an extension that can automatically translate the text and doesn't require to click something! I also love the ability to change the colors and overall the plethora of options!
5/5 for me!!! - Yettwasezmel 1 ɣef 5sɣur Aseqdac Firefox 14633260, 3 年前
- Yettwasezmel 5 ɣef 5sɣur Rifat Tanjum, 3 年前
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 15133021, 3 年前
- Yettwasezmel 3 ɣef 5sɣur HonestReviews, 4 年前All this is is a front end to the google translate page. It saves a little time as it takes you write to the text boxes and you can translate an entire page. Google is getting good at translations, fewer and fewer nonsensicle results. But of course they are spying on you and profiling you when you use it, because that is the evil nature of google. But it works better than imtranslator which puts malware on your machine to open their webpage w/out your permission.
- Yettwasezmel 1 ɣef 5sɣur Aseqdac Firefox 13643690, 4 年前
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 12618514, 4 年前
- Yettwasezmel 5 ɣef 5sɣur Norbertino, 4 年前
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 15001017, 4 年前