Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339975 - "translate" in dev-libs/libtranslate-0.99 doesn't translate
Summary: "translate" in dev-libs/libtranslate-0.99 doesn't translate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://www.nongnu.org/libtranslate/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 19:03 UTC by Jesse Adelman
Modified: 2010-10-07 15:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Adelman 2010-10-06 19:03:23 UTC
Using the example in the "translate" man page:

jesse@dell-gx620 ~/source/build $ echo "Le probleme est resolu." | translate -f fr -t en
[                                                                             ]
(translate:17348): libtranslate-WARNING **: unable to translate chunk using Babel Fish: unable to parse server data

(translate:17348): libtranslate-WARNING **: unable to translate chunk using SYSTRAN: unable to parse server data
Le probleme est resolu. 
jesse@dell-gx620 ~/source/build $ 

I noticed that there are some "unofficial" patches on the libtranslate project page, which apparently update the services.xml file. Probably webAPIs have changed in the various providers' services since 2005...

If we're scared of "unofficial", can we at least have an "unofficial" USE flag to allow Portage to pull in these "unofficial" patches listed on the "official" upstream project page. ;)

Cheers!
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-07 15:43:07 UTC
I have put an -r1 in the tree that applies two patches (the one from the website and another one from the Ubuntu distribution's bug tracker), but it still fails some services.

As services.xml(5) suggests, you could simply use your own file defining your own translation services.