libubuntuone needs to be set up for translations in Ubuntu

Bug #786632 reported by Gabor Kelemen on 2011-05-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
libubuntuone (Ubuntu)
pkgbinarymangler (Ubuntu)
Martin Pitt

Bug Description

Upstream libubuntuone provides localizations:

However, this is not imported to Ubuntu. The packaging does not include to generate a pot file at build time:

Related branches

Gabor Kelemen (kelemeng) wrote :

Also, this is quite visible in some applications.

Gabor Kelemen (kelemeng) on 2011-05-31
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Gabor Kelemen (kelemeng) wrote :

For some strange reason, including does not do the trick: the po/Makefile is not present in the source when dh_translations is run.
Until someone with deeper knowledge solves it properly, here is a hack :).

dobey (dobey) wrote :

That 'hack' is not right. It seems this is a side effect of the way libubuntuone is being built, to support building the Python bindings for multiple versions of Python. Is there no way to tell dh_translations to look inside build/ instead? That would seem to be the proper solution. Surely dh_translations must have some way to support translations in a directory other than po/.

Martin Pitt (pitti) wrote :

dh_translations needs to figure out the gettext domain from somewhere. Right now it does not do a deep file search of any potential build tree, but we can add that.

Martin Pitt (pitti) on 2011-10-26
Changed in pkgbinarymangler (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Martin Pitt (pitti)
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pkgbinarymangler - 105

pkgbinarymangler (105) precise; urgency=low

  * pkgstriptranslations: Also strip X-GNOME-Keywords. Add corresponding test
  * dh_translations: Also check for GETTEXT_DOMAIN. (LP: #786632)
  * pkgstripfiles: First symlink identical doc files, then truncate Debian
    changelogs. Otherwise truncated changelogs will never be identical due to
    the added "please see apt-get changelog <pkgname>" line. In oneiric and
    before this got hidden because of a wrong exit code of zcmp, which has
    been fixed in gzip 1.4 in precise.
  * pkgstripfiles: As we truncate long Debian changelogs, and a packages'
    dependencies may not have been processed by pkgstripfiles yet, Debian
    changelogs are sometimes different at the tail. Debian changelogs are
    generally identical between binary packages anyway, but as there is the
    theoretical possibility of having a binary package specific one, do a
    comparison still, but only the topmost 20 lines.
 -- Martin Pitt <email address hidden> Thu, 27 Oct 2011 14:54:41 +0200

Changed in pkgbinarymangler (Ubuntu):
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libubuntuone - 0.11.0-0ubuntu4

libubuntuone (0.11.0-0ubuntu4) precise; urgency=low

  * debian/rules: Call dh_translations to build a POT. Add dh-translations
    build dependency. Thanks to Gabor Kelemen for the patch!
    (LP: #786632)

libubuntuone (0.11.0-0ubuntu3) oneiric-proposed; urgency=low

  * Load u1ms:// links without blocking on main store page load (LP: #872972)
  * Work around crash introduced by WebKit 1.4.3 (LP: #851044)
 -- Martin Pitt <email address hidden> Mon, 05 Dec 2011 15:15:29 +0100

Changed in libubuntuone (Ubuntu):
status: New → Fix Released
Martin Pitt (pitti) on 2011-12-05
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers