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

Bug#266226: marked as done (locales: @euro support should again be supported for _all_ euro countries)



Your message dated Tue, 31 Aug 2004 22:54:59 +0200
with message-id <20040831205458.GA10148@mykerinos.kheops.frmug.org>
and subject line Euro countries now have a @euro 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; 17 Aug 2004 03:55:59 +0000
>From aragorn@tiscali.nl Mon Aug 16 20:55:59 2004
Return-path: <aragorn@tiscali.nl>
Received: from 195-240-184-66-mx.xdsl.tiscali.nl (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bwv4p-0003AU-00; Mon, 16 Aug 2004 20:55:59 -0700
Received: from galadriel.fjphome.nl ([10.19.66.21] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1Bwv4K-0005vr-00
	for <submit@bugs.debian.org>; Tue, 17 Aug 2004 05:55:28 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: Debian BTS <submit@bugs.debian.org>
Subject: locales: @euro support should again be supported for _all_ euro countries
Date: Tue, 17 Aug 2004 05:55:27 +0200
User-Agent: KMail/1.6
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <[🔎] 200408170555.27638.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: debian-installer
Severity: important

NOTE: I strongly feel this should be fixed before RC2 is released.

HISTORY
=======
With the introduction of the new languagechooser, support for @euro locales 
was lost for a lot of countries which had that support before.
This was noted at the time [1], but ignored because the relevance was unclear.

Now it looks as if proper @euro support _should_ be present [2].

[1] http://lists.debian.org/debian-boot/2004/06/msg01818.html
[2] http://lists.debian.org/debian-boot/2004/08/msg01145.html

PROBLEM
=======
Currently only a few locales have proper @euro support. For these it is set in 
the 3rd field in languagelist in languagechooser, but this solution does not 
work for all relevant language/country combinations.

In languagelist only primary language/country combinations (e.g. French - 
fr_FR@euro, Spanish - es_ES@euro, Catalan - ca_ES@euro) are present, but not 
secondary combinations (e.g. French in Belgium - fr_BE, German in Austria - 
ge_AT).
Currently not even all of the primary combinations have @euro support in 
languagelist (e.g. Dutch - nl_NL, Danish - da_DK).

The current code in the postinst for countrychooser that keeps a suffix if any 
is present in the 3rd field of languagelist could provide a solution for some 
situations, but not for all [a] and even leads to undesired results in other 
situations [b].

[a] English (en_US) does not have a @euro suffix, but en_IR needs one 
[b] AFAICT French in Canada would currently 'inherrit' a @euro suffix
    from fr_FR@euro, but because fr_CA@euro is unsupported the locale
    will fall back to fr_FR@euro even though a fr_CA locale does exist

SOLUTION
========
I think the solution would be to include code (probably in postinst for 
countrychooser).
This script should roughly check whether the previously generated locale 
concerns an euro country, adds the @euro suffix and checks to see if the new 
locale is supported. There would have to be some exceptions e.g. for 
combinations that prefer UTF8 encoding.

Another (maybe the best in the long run) solution could be remove suffixes 
from the languagelist altogether and to have a table in countrychooser of 
preferred locales for any xx_YY combinations where a suffix (or another 
locale than can be automatically generated from the selected language and 
country) is wanted.

The relevant countrycodes for euro are: AT BE DE FI FR GR IR IT LU NL PT SP.

---------------------------------------
Received: (at 266226-done) by bugs.debian.org; 31 Aug 2004 20:55:33 +0000
>From bubulle@kheops.frmug.org Tue Aug 31 13:55:33 2004
Return-path: <bubulle@kheops.frmug.org>
Received: from lns-th2-5f-81-56-227-253.adsl.proxad.net (kheops.homeunix.org) [81.56.227.253] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C2FfA-0002N2-00; Tue, 31 Aug 2004 13:55:33 -0700
Received: from localhost (localhost [127.0.0.1])
	by kheops.homeunix.org (Postfix) with ESMTP id 9451C4059
	for <266226-done@bugs.debian.org>; Tue, 31 Aug 2004 22:55:00 +0200 (CEST)
Received: from kheops.homeunix.org ([127.0.0.1])
	by localhost (kheops [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 26279-07 for <266226-done@bugs.debian.org>;
	Tue, 31 Aug 2004 22:55:00 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org (mykerinos.kheops.frmug.org [192.168.1.3])
	by kheops.homeunix.org (Postfix) with ESMTP id 0E2EA4050
	for <266226-done@bugs.debian.org>; Tue, 31 Aug 2004 22:55:00 +0200 (CEST)
Received: from localhost (mykerinos.kheops.frmug.org [127.0.0.1])
	by mykerinos.kheops.frmug.org (Postfix) with ESMTP id D780D23276
	for <266226-done@bugs.debian.org>; Tue, 31 Aug 2004 22:54:59 +0200 (CEST)
Received: from mykerinos.kheops.frmug.org ([127.0.0.1])
	by localhost (mykerinos [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 13749-07 for <266226-done@bugs.debian.org>;
	Tue, 31 Aug 2004 22:54:59 +0200 (CEST)
Received: by mykerinos.kheops.frmug.org (Postfix, from userid 7426)
	id 6A40B23260; Tue, 31 Aug 2004 22:54:59 +0200 (CEST)
Date: Tue, 31 Aug 2004 22:54:59 +0200
From: Christian Perrier <bubulle@debian.org>
To: 266226-done@bugs.debian.org
Subject: Euro countries now have a @euro locale
Message-ID: <20040831205458.GA10148@mykerinos.kheops.frmug.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-message-flag: Outlook is a good virus spreading tool. It can send mail, too.
X-pot_a_miel: honeypot@kheops.frmug.org
User-Agent: Mutt/1.5.6+20040818i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mykerinos
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at kheops.frmug.org
Delivered-To: 266226-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

THis feature was added in 1.29 release of languagechooser.

Unfortunately, the relevant Closes line was forgotten in the
changelog. THe bug may now be closed.


-- 




Reply to: