To easily obtain all translationsfiles for a given release
Josef Andersson
josef.andersson at gmail.com
Sat Sep 20 20:15:06 UTC 2014
Thanks for the answer David! The base pack download (method 2) is what I was doing, but then it's missing a few files, like the installer
(ubiquity and friends) even though they are listed as translatable packages for the 14.10 release https://translations.launchpad.net/ubuntu/utopic/+lang/sv
500 files compared to 460 in the base pack download. For whatever reason (being installer or something else) they are not included in the base pack download I think
life would be easier if there was a way to download *all* items corrensponding to the list of translatable items for a distribution as one zip in launchpad. As of now, that use case doesn't seem possible then?
/Josef
Den 2014-09-20 17:46, David Planella skrev:
> On Fri, Sep 19, 2014 at 3:09 PM, Josef Andersson <josef.andersson at gmail.com <mailto: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 <mailto:ubuntu-translators at lists.ubuntu.com>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators
>
>
More information about the ubuntu-translators
mailing list