To easily obtain all translationsfiles for a given release

David Planella david.planella at ubuntu.com
Sat Sep 20 15:46:38 UTC 2014


On Fri, Sep 19, 2014 at 3:09 PM, Josef Andersson <josef.andersson at gmail.com>
wrote:

> Hello fellow translators!
>
> I would like to be able download all language files listed as
> translateable for 14.10 at once. Why? To be able to grep in them, so that
> the translations of certain key words stays the same.
> Also, it would make it easy to find translation bugs, when I don't know in
> which package they are - in launchpad you can't search all files in a
> language at once (
> as far as I know).
>
> I asked a question about it, and got the "why" to as why all not language
> files are in the base pack.
> https://answers.launchpad.net/ubuntu-translations/+question/254729
> Are the any other easy way to download them all in one go?
>

Hi Josef,

You've got two options:

1. Use the translations-search tool. You can install it from the Ubuntu
Translations Coordinators PPA

sudo add-apt-repository ppa:ubuntu-translations-coordinators/ppa
sudo apt-get update && sudo apt-get install ubuntu-l10n-tools

Examples:

translations-search --help # Shows the tool's options and help
translations-search gat # Searches for string 'gat' in the translations
installed for the user's language
translatons-search --original cat # Searches for string 'cat' in the
original English strings for the translations installed in the system
translations-search "espai de disc" # Search translations for a sentence
translations-search "@[\w.]+" # Use Python regex expressions to search for
translations (in this case an e-mail-like string)

2. Alternatively, download all po files from the language pack exports from
Launchpad ->
https://wiki.ubuntu.com/Translations/KnowledgeBase/Exporting#Getting_all_translations

I'd recommend option 1, as it's much easier.


> I wish Canonical had something like Microsoft has here:
> http://www.microsoft.com/Language/en-us/Search.aspx?sString=terms&langID=sv-se
>

Nothing should stop anyone from contributing something similar if they see
it could benefit the work of translators.

In any case, I hope this helps!

Cheers,
David.


>
> --
> Vänligen / Best regards
> Josef Andersson
>
>
> --
> ubuntu-translators mailing list
> ubuntu-translators at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-translators/attachments/20140920/6200d99b/attachment.html>


More information about the ubuntu-translators mailing list