Your message dated Sun, 30 Oct 2005 03:04:13 +1100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#336298: help2man: Adds incorrect territory to locale
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Oct 2005 10:21:30 +0000
>From [EMAIL PROTECTED] Sat Oct 29 03:21:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from xproxy.gmail.com [66.249.82.198] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EVnq6-0003Ck-00; Sat, 29 Oct 2005 03:21:30 -0700
Received: by xproxy.gmail.com with SMTP id t14so516120wxc
        for <[EMAIL PROTECTED]>; Sat, 29 Oct 2005 03:21:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        
h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        
b=WjTuYyvCz3sQ8EAsEvQR0JI1otG0nnTOjdNC6WwC1CI4+sG++EO6HiMJj9UxnJ6uyuQzlukUAY7KOxN6od3SMM5DgTpAbdYBdiLwokY4m0kcrRplslZ42GXjWDGVc/n9piOX30tXnSOy6nsWueM3z9y/a1eHryID+mNfArYt0Qk=
Received: by 10.65.206.3 with SMTP id i3mr74898qbq;
        Sat, 29 Oct 2005 03:21:29 -0700 (PDT)
Received: by 10.65.43.19 with HTTP; Sat, 29 Oct 2005 03:21:29 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Sat, 29 Oct 2005 12:21:29 +0200
From: Piotr Engelking <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: help2man: Adds incorrect territory to locale
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02

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 .=3D "_\U$locale" if $locale =3D~ /^[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 o=
f
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=3DC, LC_CTYPE=3Dpl_PL.UTF8 (charmap=3DUTF-8)

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

Versions of packages help2man recommends:
ii  gettext                       0.14.5-2   GNU Internationalization utili=
ties
ii  liblocale-gettext-perl        1.05-1     Using libc functions for inter=
nati

-- no debconf information

---------------------------------------
Received: (at 336298-done) by bugs.debian.org; 29 Oct 2005 16:04:18 +0000
>From [EMAIL PROTECTED] Sat Oct 29 09:04:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from londo.c47.org [198.142.1.20] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EVtBq-0004gy-00; Sat, 29 Oct 2005 09:04:18 -0700
Received: from bod by londo.c47.org with local (Exim 3.36 #1 (Debian))
        id 1EVtBl-0003kj-00; Sun, 30 Oct 2005 03:04:13 +1100
Date: Sun, 30 Oct 2005 03:04:13 +1100
From: Brendan O'Dea <[EMAIL PROTECTED]>
To: Piotr Engelking <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#336298: help2man: Adds incorrect territory to locale
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Sat, Oct 29, 2005 at 12:21:29PM +0200, Piotr Engelking wrote:
>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).

I think that you misunderstand the transformation which is actually
occuring here:  the intent is to change a locale specified as "fr" to
"fr_FR".

The problem is that, at least on Debian systems, "fr" is not a valid
locale, whereas "fr_FR" is.

Note:  this is merely a default for the case where the specified locale
is exactly two characters.  If you specify a locale of "fr_BE", then no
change is made; the emitted manual page will use the Belgian varient of
French, presuming such a catalog is available.

--bod


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to