Comment 4 for bug 551470

Revision history for this message
David Planella (dpm) wrote :

The template for the Ubuntu package I uploaded manually has now been imported, so we should be covered for now.

However, the Ubuntu package needs to create a POT template on build, so that this template can be imported in the distro space in Launchpad (translations.launchpad.net/ubuntu) and it does not need to be done manually.

> Is it because the simple-scan packaging doesn't have some dpkg magic, e.g.: /usr/share/cdbs/1/class/gnome.mk?

Yeah, it's exactly that. You can either use a CDBS class for that (the langpack rule included in gnome.mk should be enough if you don't need all the rest) or call 'cd po; intltool-update -p' in debian/rules. The only thing necessary for the Ubuntu template to be up-to-date is that the package creates the template while building.

> David, I thought LP was getting the template from bzr (where I checked it in). Is that not working anymore?

As Gabor is explaining, that works fine for the upstream project, but the Ubuntu package needs this one modification to update the template on every upload.

There are currently two sources of translation for simple-scan: upstream and Ubuntu. I acknowledge that this is not optimal, neither from the maintaner nor from the translator point of view, but it is the current situation. There is work being done on this front by the Launchpad Translations team, and soon enough there will be big improvements: better synchronisation between the upstream projects and the Ubuntu source packages, and direct translation import from bzr branches (either native or mirrored) into Ubuntu, instead of import from the packages.

More info: https://wiki.ubuntu.com/Translations/Upstream#Upstream