Traditionally the POT templates in the sources are manually updated
shortly before a release and then given to translators. Or in projects
hosted Launchpad, if automatic translation updates are used, simply
manually updating the POT file and committing it updates it in
Launchpad.

But anyway, this bug is not about the sources, but rather about the .deb
package needing to create a POT template during the build, which it
currently doesn't.

In order to allow using the Ubuntu translation infrastructure, all
Ubuntu packages include a rule of some sort in debian/rules to create a
POT template on build.

Different packages handle this differently: for example all GNOME CDBS-
based packages include the langpack.mk rule, which takes care of that,
whereas others simply add something along the lines of 'cd po; intltool-
update -p'. There is more info on the links Gabor was pointing out in
the original post.

* 
https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/Packaging#Translation%20templates
* 
https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/RecipeVerifyingTranslationUploads
* https://wiki.ubuntu.com/Translations/TranslationLifecycle

What happened with mountall was that on uploading the package Launchpad
picked up the outdated template included in the sources, which has only
17 strings instead of the current 50+ ones. Modifying the debian/rules
file to create an updated POT file will sort this out.

In the meantime, what I've done is to manually upload an up-to-date
mountall.pot template into Launchpad, which will at least give the
opportunity to translators to translate the messages before the
deadline. However, the package will still need to be modified, otherwise
the next package upload with an outdated template will overwrite the one
I've manually uploaded.


** Changed in: mountall (Ubuntu)
       Status: Incomplete => New

** Changed in: ubuntu-translations
       Status: New => Triaged

** Changed in: ubuntu-translations
   Importance: Undecided => Medium

-- 
Mountall needs to generate pot file on build
https://bugs.launchpad.net/bugs/559997
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to