Package: help2man
Version: 1.36.1
Severity: normal
Tags: l10n

In 1.36.1, the following snippet was added to help2man.PL:

    # Add default territory to locale.
    $locale .= "_\U$locale" if $locale =~ /^[a-z]{2}$/;

This is hopelessly broken for many languages. Uppercasing an ISO 639-1 code
often doesn't result in a valid ISO 3166-1 alpha-2 code (e.g. in the case of
en [English], or uk [Ukrainian]). Even if it does, the produced code often
doesn't stand for a territory where the language is primarily spoken (e.g.
in the case of be [Belarusian] or cs [Czech], BE stands for Belgium, and CS
for Serbia and Montenegro).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=pl_PL.UTF8 (charmap=UTF-8)

Versions of packages help2man depends on:
ii  perl                          5.8.7-6    Larry Wall's Practical Extraction

Versions of packages help2man recommends:
ii  gettext                       0.14.5-2   GNU Internationalization utilities
ii  liblocale-gettext-perl        1.05-1     Using libc functions for internati

-- no debconf information

Reply via email to