mrkara / gtranslator

A fork of the original 2-91 branch of Gtranslator from http://projects.gnome.org/gtranslator
GNU General Public License v3.0
1 stars 0 forks source link

[bgo#675382] Create TM automatically from l10n.gnome.org #62

Open mrkara opened 7 years ago

mrkara commented 7 years ago

It would be a great improvement if GT could create a new TM automaticcaly by downloading po files from l10n.gnome.org.

There are several fixed links to download tarballs with po files:

http://l10n.gnome.org/languages/es/gnome-extras/ui.tar.gz or http://l10n.gnome.org/languages/es/gnome-infrastructure/doc.tar.gz

The idea is as follows: a button to automatically download and create the TM from these PO files (downloading and extracting them into a temp folder). Also, should be a checkbox to delete the old TM, so thisp rocedure would create a new and up-to-date TM.

The only issue we should have to solve is how to download core por files, since this URL is version-dependant:

http://l10n.gnome.org/languages/es/gnome-3-6/ui.tar.gz

Of course, this feature should look-up the PO files from the correct language.

Thanks

Originally reported by Daniel Mustieles at https://bugzilla.gnome.org/show_bug.cgi?id=675382

mrkara commented 7 years ago

Do all .po files have the same license to allow you reusing translated strings?

Originally posted by André Klapper

mrkara commented 7 years ago

Usually, PO files have the follwing line at the beginning:

«This file is distributed under the same license as the PACKAGE package.»

So I think users can reuse them. BTW, this just adds the posibility of creating the TM automatically, helping users to do it; if there were any problem with licenses, we should completely remove this feature.

Does any PO file restrict this kind of use? In that case... wouldn't it go against GNOME's licensing policies?

The idea is just using the following modules groups (UI and docs):

GNOME core External Dependencies GNOME-Office GNOME Infraestructure Extra GNOME Applications

Originally posted by Daniel Mustieles

mrkara commented 7 years ago

Any progress on this?

Originally posted by Daniel Mustieles