somehow mariodebian's solution didn't work for me
what worked for me was
#2
to solve the problem
sudo gedit /usr/share/libtranslate/services.xml
then look for the lines containing
<text-translation
url="http://www.google.com/translate_t?text=${text:escape}&langpair=${from}|${to}&ie=utf8&oe=utf8">
<pre-marker text="<div id="/>
<pre-marker text="result_box"/>
<pre-marker text=">"/>
<post-marker text="</div>"/>
</text-translation>
and replace them with
<text-translation
url="http://www.google.com/translate_t?text=${text:escape}&langpair=${from}|${to}&ie=utf8&oe=utf8">
<pre-marker text="id="/>
<pre-marker text="result_box"/>
<pre-marker text="mouseover"/>
<pre-marker text=">"/>
<post-marker text="<"/>
</text-translation>
save and restart gnome-translate
--
Google service doesn't work in libtranslate
https://bugs.launchpad.net/bugs/124287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs