[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395377: po-debconf: podebconf-display-po fails to show translated text



Package: po-debconf
Version: 1.0.6
Severity: normal
X-Debbugs-CC: debian-l10n-german@lists.debian.org

In my locale (see below) I get translated buttons (e.g., Yes -> Ja),
but the text itself always remains in english. The file itself can be
viewed perfectly fine in vim, less, cat, ..., so I really doubt that I
would need unicode. I tried setting LANG, LANGUAGE, LC_ALL to various
values (de, de_DE, ..) but could not get a single value to work. Since
there are no diagnostics available, I am a bit lost. I used strace,
but could not see a problem from this way.

All these tests were done on the linux console. After a suggestion I
tried an uxterm under X (without changing any environment variable)
and suddenly podebconf-display-po displays localized content (e.g. the 
german strings).

You write in the man page:
           If the PO file cannot be converted into your current
	   encoding, English strings are displayed instead of the
           localized ones.  You have then to switch to a UTF-8
	   environment to prevent encoding mismatch.

With "real" packages, the german strings (on the linux console) always
worked. So obviously it seems, as if podebconf-display-po *always*
requires an UTF-8 environment. 

A minimum solution would be some diagnostic facility (e.g. a command
line switch) which informs the user that conversion failed *and* a
correction in the man page. The better fix would be of course, to do
the proper conversion (if any, the file I tested with was *not* in
UTF-8, so no conversion was actually required!).

I can provide an example po file on request (but tested with several).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7-grsec-cz01
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages po-debconf depends on:
ii  gettext                0.14.6-1          GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  perl                   5.8.8-6.1         Larry Wall's Practical Extraction 

Versions of packages po-debconf recommends:
ii  libcompress-zlib-perl         1.42-1     Perl module for creation and manip
pn  libmail-sendmail-perl         <none>     (no description available)

-- no debconf information
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


Reply to: