Currently libtranslate with google as a service returns erroneous
markup:
" onmouseover="this.style.backgroundColor='#ebeff9'"
onmouseout="this.style.backgroundColor='#fff'">
To fix this edit:
sudo vim /usr/share/libtranslate/services.xml
And set your pre/post markers to this:
This bug was fixed in the package libtranslate - 0.99-0ubuntu8
---
libtranslate (0.99-0ubuntu8) natty; urgency=low
* debian/patches/05_services.patch:
- update services.xml, taken from Fedora
(LP: #124287, #319110, #483423)
* debian/patches/08_fix_modules_build.patch:
farchumbre, thank you for your help on this bug and making Ubuntu
better. The next step is to take your proposed solution and make it into
a patch ( https://wiki.ubuntu.com/Bugs/HowToFix ) for others to test
with and, barring exception, merged into libtranslate.
** Changed in: libtranslate (Ubuntu
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
http://www.google.com/translate_t?text=${text:escape}&langpair=${from}|${to}&ie=utf8&oe=utf8">
The patch for Google have changed a bit:
In debian/patches/05_services.patch
-
+
+
-
+
This bug is duplicate of: 511474 523393 529689
--
Google service doesn't work in libtranslate
https://bugs.launchpad.net/bugs/124287
You received this bug notif
Thank you for taking the time to report this bug and helping to make
Ubuntu better. I noticed that the package version your bugging is
updated in Lucid. Please update via http://releases.ubuntu.com/lucid/
repost a detailed error report, and update the bug status. Thanks!
** Changed in: libtranslat
I can confirm this fix is still required and works in Hardy. Before
applying this gnome-translate would just write the untranslated text in
the "Translated text" box.
--
Google service doesn't work in libtranslate
https://bugs.launchpad.net/bugs/124287
You received this bug notification because y