Bug 478626 - Update services.xml
Summary: Update services.xml
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libtranslate
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dmitry Butskoy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-02 11:52 UTC by Dwayne Bailey
Modified: 2009-01-21 21:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-21 21:36:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Google - new languages/language pairs (2.63 KB, patch)
2009-01-02 11:54 UTC, Dwayne Bailey
no flags Details | Diff
Babelfish - add zh-zh-TW pair added (571 bytes, patch)
2009-01-02 11:55 UTC, Dwayne Bailey
no flags Details | Diff
Google - fix weburl (542 bytes, patch)
2009-01-02 15:27 UTC, Dwayne Bailey
no flags Details | Diff
Apertium - add stable translation pairs (1.72 KB, patch)
2009-01-02 15:36 UTC, Dwayne Bailey
no flags Details | Diff
Opentrad - an appertium based free service (876 bytes, patch)
2009-01-02 15:41 UTC, Dwayne Bailey
no flags Details | Diff
Apertium (Unstable) - add unstable language pairs (1.22 KB, patch)
2009-01-02 15:46 UTC, Dwayne Bailey
no flags Details | Diff
Apertium (alpha-testing) - add testing/alpha language pairs (2.26 KB, patch)
2009-01-02 15:48 UTC, Dwayne Bailey
no flags Details | Diff
Consolidated patch for services.xml.in (7.96 KB, patch)
2009-01-07 20:49 UTC, Dwayne Bailey
no flags Details | Diff
Patch to libtranslate.spec including changes for service.xml.in (10.05 KB, patch)
2009-01-07 20:56 UTC, Dwayne Bailey
no flags Details | Diff

Description Dwayne Bailey 2009-01-02 11:52:08 UTC
Description of problem:
Babel fish and Google translator have added some new languages
Apertium related entries are not present

Version-Release number of selected component (if applicable):
libtranslate 0.99

Additional info:
I've prepared patches for the various changes and will attach them separately.

Comment 1 Dwayne Bailey 2009-01-02 11:54:07 UTC
Created attachment 328062 [details]
Google - new languages/language pairs

Google has added a number of language pairs to their service.  All language pairs can be translated into others and this is reflected by the change to to="*"

Comment 2 Dwayne Bailey 2009-01-02 11:55:14 UTC
Created attachment 328063 [details]
Babelfish - add zh-zh-TW pair added

Comment 3 Dwayne Bailey 2009-01-02 15:27:28 UTC
Created attachment 328070 [details]
Google - fix weburl

Seems the old web page URL no longer works, this fixes it to the new expected format.

Comment 4 Dwayne Bailey 2009-01-02 15:36:23 UTC
Created attachment 328071 [details]
Apertium - add stable translation pairs

Add Apertium, an OSS machine translation tool.

Comment 5 Dwayne Bailey 2009-01-02 15:41:32 UTC
Created attachment 328073 [details]
Opentrad - an appertium based free service

This is another Apertium based translation tool that potentially adds a number of other free languages.

Comment 6 Dwayne Bailey 2009-01-02 15:46:21 UTC
Created attachment 328075 [details]
Apertium (Unstable) - add unstable language pairs

This patch is disabled by default, allowing users to enable to unstable language pairs if they know the limitations of these pairs.

Comment 7 Dwayne Bailey 2009-01-02 15:48:52 UTC
Created attachment 328076 [details]
Apertium (alpha-testing) - add testing/alpha language pairs

Again disabled by default but supplied to allow users the ability to enable if needed.

Comment 8 Dmitry Butskoy 2009-01-06 17:58:24 UTC
Your patches are against the installed servises.xml file, but the source tarball contains the "services.xml.in" in the "data/" subdir, which has slightly different format (mostly "to" and "tag" are swapped).

Could you provide here just a resulted (with all the patches applied) file "services.xml.in" ?

I think we should not provide such changes by patches, because the size of these patches seem bigger than the size of the original file to patch...

Comment 9 Dwayne Bailey 2009-01-07 09:56:08 UTC
Ouch, quite a bit of fixing.  I'll have a look at it sometime this week.

My reason for the different patches was to keep things logical and allow cherry picking changes that where approved.  I'm not that worried about size. I think what might be good is to keep new services apart from changes and disabled serivices. I'll think of something.

I'm working against libtranslate in CVS so the changes should then be easy to integrate into the build system.

Comment 10 Dwayne Bailey 2009-01-07 20:49:22 UTC
Created attachment 328411 [details]
Consolidated patch for services.xml.in

Comment 11 Dwayne Bailey 2009-01-07 20:56:06 UTC
Created attachment 328412 [details]
Patch to libtranslate.spec including changes for service.xml.in

Apply and run.  This patch should update libtranslate.spec and includes the patch to update service.xml.in. It should be all that is needed to add and update for a new release.

I've made a scratch build here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1038899

Comment 12 Fedora Update System 2009-01-11 16:49:06 UTC
libtranslate-0.99-18.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/libtranslate-0.99-18.fc10

Comment 13 Fedora Update System 2009-01-15 03:08:44 UTC
libtranslate-0.99-18.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libtranslate'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0557

Comment 14 Fedora Update System 2009-01-21 21:36:37 UTC
libtranslate-0.99-18.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.