Bug#644401: trac: Translations are missing
On 04/29/2012 12:45 AM, ras wrote: [dkg wrote:] the problem seems to be a missing Build-Depends on python-babel. I don't think that localization can magically work without translation files. In Gentoo we have: [...] In Debian, the following command returns no lines: $ dpkg -L trac | grep /locale/ That's correct. If python-babel isn't present on the build system, then the locales files do not get installed into the package. This is why the fix is a Build-Dependency and not just a regular Dependency. --dkg signature.asc Description: OpenPGP digital signature
Bug#644401: trac: Translations are missing
the problem seems to be a missing Build-Depends on python-babel. I don't think that localization can magically work without translation files. In Gentoo we have: $ equery f trac | grep /locale/ /usr/lib64/python2.7/site-packages/trac/locale/ca /usr/lib64/python2.7/site-packages/trac/locale/ca/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/ca/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/cs /usr/lib64/python2.7/site-packages/trac/locale/cs/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/cs/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/de /usr/lib64/python2.7/site-packages/trac/locale/de/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/de/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/en_GB /usr/lib64/python2.7/site-packages/trac/locale/en_GB/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/en_GB/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/en_US /usr/lib64/python2.7/site-packages/trac/locale/en_US/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/en_US/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/eo /usr/lib64/python2.7/site-packages/trac/locale/eo/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/eo/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/es /usr/lib64/python2.7/site-packages/trac/locale/es/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/es/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/es_AR /usr/lib64/python2.7/site-packages/trac/locale/es_AR/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/es_AR/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/fi /usr/lib64/python2.7/site-packages/trac/locale/fi/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/fi/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/fr /usr/lib64/python2.7/site-packages/trac/locale/fr/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/fr/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/gl /usr/lib64/python2.7/site-packages/trac/locale/gl/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/gl/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/he /usr/lib64/python2.7/site-packages/trac/locale/he/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/he/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/hu /usr/lib64/python2.7/site-packages/trac/locale/hu/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/hu/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/hy /usr/lib64/python2.7/site-packages/trac/locale/hy/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/hy/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/it /usr/lib64/python2.7/site-packages/trac/locale/it/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/it/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/ja /usr/lib64/python2.7/site-packages/trac/locale/ja/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/ja/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/ko /usr/lib64/python2.7/site-packages/trac/locale/ko/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/ko/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/nb /usr/lib64/python2.7/site-packages/trac/locale/nb/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/nb/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/nl /usr/lib64/python2.7/site-packages/trac/locale/nl/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/nl/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/pl /usr/lib64/python2.7/site-packages/trac/locale/pl/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/pl/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/pt /usr/lib64/python2.7/site-packages/trac/locale/pt/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/pt/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/pt_BR /usr/lib64/python2.7/site-packages/trac/locale/pt_BR/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/pt_BR/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/ro /usr/lib64/python2.7/site-packages/trac/locale/ro/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/ro/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/ru /usr/lib64/python2.7/site-packages/trac/locale/ru/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/ru/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/sl /usr/lib64/python2.7/site-packages/trac/locale/sl/LC_MESSAGES /usr/lib64/python2.7/site-packages/trac/locale/sl/LC_MESSAGES/messages.mo /usr/lib64/python2.7/site-packages/trac/locale/sv /usr/lib64/python2.7/site-packages/trac/locale/sv/LC_MESSAGES
Bug#644401: trac: Translations are missing
Package: trac Version: 0.12.2-1 Followup-For: Bug #644401 Hi, the problem seems to be a missing Build-Depends on python-babel. I rebuilt the package with Babel installed (changing nothing else), and localisation magically started working. -- Andras Korn korn at elan.rulez.org Bugs come in through open Windows. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644401: trac: Translations are missing
Package: trac Version: 0.12.2-1 Severity: normal Tags: l10n I could not get my trac interface localized. I guess it is because the Debian package is missing the 'locale' folder that is present in the upstream tarball. Am I missing something? Are there some trac-l10n packages planned? -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (900, 'stable'), (700, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages trac depends on: ii python2.6.7-3interactive high-level object-orie ii python-genshi 0.6-2 Python XML-based template engine ii python-pkg-resources 0.6.16-1 Package Discovery and Resource Acc ii python-setuptools 0.6.16-1 Python Distutils Enhancements (set ii python2.6 2.6.7-3An interactive high-level object-o ii python2.7 2.7.2-5An interactive high-level object-o Versions of packages trac recommends: ii apache2 2.2.20-1 Apache HTTP Server metapackage ii apache2-mpm-worker [httpd] 2.2.20-1 Apache HTTP Server - high speed th ii python-babel0.9.6-1 tools for internationalizing Pytho ii python-docutils 0.8.1-3 text processing system for reStruc ii python-pygments 1.4+dfsg-2 syntax highlighting package writte ii python-subversion 1.6.17dfsg-1 Python bindings for Subversion ii python-tz 2010b-1 Python version of the Olson timezo Versions of packages trac suggests: ii libapache2-mod-wsgi 3.3-2+b2Python WSGI adapter module for Apa ii python-textile 1:2.1.5-1 Python parser for the Textile mark pn trac-accountmanager none (no description available) pn trac-authopenid none (no description available) pn trac-bitten none (no description available) pn trac-bzr none (no description available) pn trac-customfieldadminnone (no description available) pn trac-email2trac none (no description available) pn trac-git none (no description available) pn trac-graphviznone (no description available) pn trac-ja-resource none (no description available) pn trac-mastertickets none (no description available) ii trac-mercurial 0.11.0.10-1 Mercurial version control backend pn trac-spamfilter none (no description available) pn trac-wikiprint none (no description available) pn trac-wikirename none (no description available) pn trac-wysiwyg none (no description available) pn trac-xmlrpc none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org