[Bug 454112] [NEW] [Translations] translations in the package can't be imported into Launchpad, .pot template files missing

Arne Goetje arne.goetje at canonical.com
Sat Oct 17 17:24:37 UTC 2009


Public bug reported:

Binary package hint: python-django

The translations shipped with the packages cannot be imported into
Launchpad, because of multiple reasons:

1. the .pot template files are missing. Without those, the translations
cannot be used. Please make sure that the package generates the .pot
templates on build time.

2. The directory structure for translations is wrong. Template and translations for a single domain should live in one single subdirectory. .po filenames should only carry the language code.
Examples:
po/django/django.pot
po/django/de.po
po/django/es.po

po/djangojs/djangojs.pot
po/djangojs/de.po
po/djangojs/es.po

3. Currently those files live in multiple different directories, like
 * django/conf/
 * tests/regressiontests/views/ (those won't be used anyways and can be removed)
 * debian/python-django/usr/share/pyshared/django/conf/
 * debian/tmp/usr/lib/python2.6/dist-packages/django/conf/

They should only live in one directory tree, preferably po/, like the
example in 2.

4. please rename the following language codes:
 * no -> nb ('no' is obsolete)
 * sr_Latn -> sr at latin

For more information, please read here:
https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation

** Affects: python-django (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Translations] translations in the package can't be imported into Launchpad, .pot template files missing
https://bugs.launchpad.net/bugs/454112
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list