Google Translator is not working fine

Bug #529689 reported by WalterCool
8
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/gnome-translate
Package: gnome-translate 0.99-0ubuntu5
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: gnome-translate
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
WalterCool (waltercool) wrote :
Revision history for this message
farchumbre (farchumbre) wrote :

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}&amp;langpair=${from}|${to}&amp;ie=utf8&amp;oe=utf8">
 <pre-marker text="&lt;div id="/>
 <pre-marker text="result_box"/>
 <pre-marker text="&gt;"/>
 <post-marker text="&lt;/div&gt;"/>
      </text-translation>

and replace them with

<text-translation url="http://www.google.com/translate_t?text=${text:escape}&amp;langpair=${from}|${to}&amp;ie=utf8&amp;oe=utf8">
     <pre-marker text="id="/>
     <pre-marker text="result_box"/>
     <pre-marker text="mouseover"/>
     <pre-marker text="&gt;"/>
     <post-marker text="&lt;"/>
       </text-translation>

save and restart gnome-translate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.