Download of all PO files with the translation of Ubuntu

Asked by Nacho Perea

Hi,

My name is Nacho Perea and I am member of the Spanish group of translators and reviewers of Ubuntu. I would like to be able to download all the PO files for a release of Ubuntu (for instance, the Natty Narwhal). These files would be very useful in several ways. For instance, it would allow to use some QA tools (such as Xbench or petraREV) in order to get a more polished translation. It would be also a great resource to streamline the translation and achieve a more consistent translation.

I know that each PO can be downloaded separately (selecting the "Download option"), but performing this process for all the files of each release (there are more than 1,000 files in each release), it is very time-consuming.

Do you know of some way to be able to download all files at once?

Many thanks for your help and suport,

Nacho Perea

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Abel Deuring (adeuring) said :
#1

IMHO, that _should_ be possible to do that via the webserivce API (see https://help.launchpad.net/API/ ), but it is not at present :(

What you could try: Iterate in a webservice API script over all packages of an Ubuntu series so that you get the package names; then you can cobble together the download URLs for each PO file. Not very elegant, but is should work.

Revision history for this message
Nacho Perea (nacho.perea) said :
#2

The solution you propose seems right to me! I understand that I would be able to get a complete list of donwload URLs and I would not have to request each download separately.

However, the technical aspects of the solution seem really obscure to many. I've been a look at the webservice API but I barely understand it. Should the programming be done in Python?

Would it be difficult to write that script? What programming tools do I need?

Many thanks for your help!

Can you help with this problem?

Provide an answer of your own, or ask Nacho Perea for more information if necessary.

To post a message you must log in.