Google Translator is not working fine
Bug #529689 reported by
WalterCool
This bug report is a duplicate of:
Bug #124287: Google service doesn't work in libtranslate.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-translate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-translate
When im using google as translator, i just get html tags... no translation.
ProblemType: Bug
Architecture: i386
Date: Sun Feb 28 18:41:10 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/
Package: gnome-translate 0.99-0ubuntu5
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-translate
Uname: Linux 2.6.31-20-generic i686
To post a comment you must log in.
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}& amp;ie= utf8& oe=utf8" > lt;/div& gt;"/> /text-translati on>
<pre-marker text="<div id="/>
<pre-marker text="result_box"/>
<pre-marker text=">"/>
<post-marker text="&
<
and replace them with
<text-translation url="http:// www.google. com/translate_ t?text= ${text:escape} &langpair= ${from} |${to}& amp;ie= utf8& oe=utf8" >
</text- translation>
<pre-marker text="id="/>
<pre-marker text="result_box"/>
<pre-marker text="mouseover"/>
<pre-marker text=">"/>
<post-marker text="<"/>
save and restart gnome-translate