Only ship translations which accomplish a certain level of completion

Bug #961936 reported by Daniel Holbach
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
Fix Released
Andrew Starr-Bochicchio

Bug Description

We should only ship translations which accomplish a certain level of completion. There was code for this in the ubuntu-docs package at some stage. still has it


UPDATE: I had a conversation with David Planella and we came up with the following
 - we change translation settings in LP to auto-commit translations (done)
 - we get the Packaging Guide into the archive
 - we write a script using python-polib, which checks which translations are
   sufficiently complete and for them add binary package stanzas to debian/control
   and corresponding packaging bits. we will then run the script every now and
   then and get more complete translations into Ubuntu this way (this is what
   this bug should be about)
 - we mail ubuntu-docs and ubuntu-translators mailing lists and blog about the
   effort to translate our docs
 - we update and push the .pot file manually every now and then (make gettext)

Tags: i18n packaging

Related branches

Changed in ubuntu-packaging-guide:
importance: Undecided → Medium
status: New → Triaged
tags: added: packaging
Revision history for this message
Daniel Holbach (dholbach) wrote :

Important for shipping it.

tags: added: ubuntu-inclusion
Changed in ubuntu-packaging-guide:
importance: Medium → High
tags: added: i18n
Revision history for this message
Daniel Holbach (dholbach) wrote :

I suggest working around this for now, so we can get it into the archive soon: lp:~dholbach/ubuntu-packaging-guide/workaround-961936

description: updated
Changed in ubuntu-packaging-guide:
assignee: nobody → Daniel Holbach (dholbach)
status: Triaged → In Progress
Revision history for this message
Daniel Holbach (dholbach) wrote :

This should not be a blocker for Ubuntu inclusion any more, so I'll remove the tag. Still it's of high importance.

tags: removed: ubuntu-inclusion
Revision history for this message
Daniel Holbach (dholbach) wrote :

I won't have time in the next few days to work on this, but it's almost done. So if anybody wants to grab the branch I worked on and continue the work in there, feel free to do so. :-)

Changed in ubuntu-packaging-guide:
assignee: Daniel Holbach (dholbach) → nobody
status: In Progress → Triaged
Changed in ubuntu-packaging-guide:
status: Triaged → In Progress
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

So, I added creation of the .doc and .doc-base files in my branch. I'm going to try to finish this up tomorrow.

I guess the question I have about the final bits is how do we imagine actually using it? Something that we run manually periodically, as some a bzr-builddeb pre-build hook at source package build time, or during the binary package build? I'll have to think about that a bit...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Fantastic work. I just took the liberty to set the PERCENTAGE back to 70 and fix a few indentations issues.

Regarding your question: I think it should be enough to run the script every now and then when we do an actual upload to Ubuntu. I expect this only to happen a couple of times each cycle, and I don't expect (but obviously hope to be proven wrong) huge changes in the level of completeness of translations between the uploads we do. :)

Changed in ubuntu-packaging-guide:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.