Without a fallback language passed to xgettext like --language=Python,
comments from Glade-like files are extracted and put into the .pot just
fine.
However, since I have files to extract messages from without file
extension I need to specify a fallback language.
Doing this however prevents the comments from getting put into the .pot
file. See the attached test case for clarification. (Run the two scripts
and examine the difference in the resulting .pot files.)
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages intltool depends on:
ii automake [automaken] 1:1.11.1-1 A tool for generating GNU Standard
ii automake1.9 [automaken] 1.9.6+nogfdl-3.1 A tool for generating GNU Standard
ii file 5.04-2 Determines file type using "magic"
ii gettext 0.17-11 GNU Internationalization utilities
ii libxml-parser-perl 2.36-1.1+b1 Perl module for parsing XML files
ii patch 2.6-2 Apply a diff file to an original
ii perl 5.10.1-12 Larry Wall's Practical Extraction
intltool recommends no packages.
intltool suggests no packages.
- -- no debconf information
iEYEARECAAYFAkvhy44ACgkQYfUFJ3ewsJhDAwCffB1FUs3njbNp2vMyTcpIm/Te
UEIAn123Hjn9VP30FEWoscMadVBW7oto
=qL1T
-----END PGP SIGNATURE-----