Missing translations in base pack download

Asked by Josef Andersson on 2014-09-19

I'm a Swedish translator for the Ubuntu project. When looking at the number of translatable files for the Ubuntu project. version 14.10, i.e
https://translations.launchpad.net/ubuntu/utopic/+lang/sv/+index?batch=75
it tells me there are 500 translatable files at the moment.
However, when downloading the base language pack, for 14.10 https://translations.launchpad.net/ubuntu/utopic where they all should be included, there's only 460 files.
For example, https://translations.launchpad.net/ubuntu/utopic/+source/ubiquity/+pots/ubiquity-debconf/sv/+translate
is missing, a quite important installer file.
Is this on purpose (and if so, what's the logic behind it) or is it a bug?

Why do I want to be able download all language files at once? To be able to grep in them, so that the translations of certain key words stays the same. Also, it makes 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.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Translations Edit question
Assignee:
No assignee Edit question
Solved by:
Josef Andersson
Solved:
2014-09-22
Last query:
2014-09-22
Last reply:
2014-09-19
Josef Andersson (northar) said : #1

I'm a Swedish translator for the Ubuntu project. When looking at the number of translatable files for the Ubuntu project. version 14.10, i.e
https://translations.launchpad.net/ubuntu/utopic/+lang/sv/+index?batch=75
it tells me there are 500 translatable files at the moment.
However, when downloading the base language pack, for 14.10 https://translations.launchpad.net/ubuntu/utopic where they all should be included, there's only 460 files.
For example, https://translations.launchpad.net/ubuntu/utopic/+source/ubiquity/+pots/ubiquity-debconf/sv/+translate
is missing, a quite important installer file.
Is this on purpose (and if so, what's the logic behind it) or is it a bug?

Why do I want to be able download all language files at once? To be able to grep in them, so that the translations of certain key words stays the same. Also, it makes 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.

Gunnar Hjalmarsson (gunnarhj) said : #2

There are multiple valid reasons for the delta.

The base language packs include .mo files for most seeded packages, i.e. packages which are included on the ISOs. This saves space on the ISOs. I just checked language-pack-sv-base_14.10+20140909_all.deb and found 214 .mo files, not 460.

The installer stuff needs to be available at installation, and is not handled via the language packs. You don't have ubiquity and friends installed anyway, do you?

Then there are packages whose translations are handled at Launchpad but which are not installed by default. For example, if you install pitivi, the .mo files are installed by that package as /usr/share/locale/*/LC_MESSAGES/pitivi.mo.

There are also a few docs packages whose translations are provided as XML files in the language-pack-gnome-*-base packages.

Josef Andersson (northar) said : #3

Thanks for the clarification! So, to answer my use case: how can I search them all for a word, or a phrase, If I can't download them all in one package?

Gunnar Hjalmarsson (gunnarhj) said : #4

I have no good idea. I'd suggest that you ask at the ubuntu-translators mailing list, where your question will be seen by several experienced Ubuntu translators.

Josef Andersson (northar) said : #5

Just did, let's see what happens:

CUT
.....

I would like to be able to 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 stays in - 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?

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

CUT

Josef Andersson (northar) said : #6

It's not possible today was the answer, at the mailing list, so I did put a bug report here: https://bugs.launchpad.net/ubuntu-translations/+bug/1371536
However, this answers my original question, and so, I'll close this QA.