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

Bug#323159: locales: [patch] en_DK locale LC_MONETARY definition fails for ISO8859-15



Package: locales
Version: 2.3.5-3
Severity: normal
Tags: patch l10n

As an EU-member (but not a Euro country) most Danish users have an ongoing
need to refer to the Euro and amounts expressed in Euros (in addition to
referring to their own currency "Kr").  This is even more common for those
who use the internationally oriented en_DK locale (English is not a native
language in Denmark, en_DK is a way to get English language with Danish
formats for Dates etc.).

To refer to the Euro, the ISO8859-15 character set is needed for the Euro
symbol, and the basic da_DK locale was long ago updated to remove a
placeholder reference to the "Currency" symbol erroneously included in
ISO8859-1 during the cold war era.

Unfortunately this update was never made in the en_DK locale definition
(which appears to be based on a one month older original file).  The
attached patches fix this.  (These are single file patches because the
Debian package is too unwieldy for me to create a proper patch against).

Note that building the da_DK@euro locale has not been a problem for a long
time, the patch for locales.config also adds that fact to the config.


diff -Naur old/en_DK new/en_DK
--- old/en_DK	2005-08-04 19:38:55.000000000 +0200
+++ new/en_DK	2005-08-15 06:50:35.000000000 +0200
@@ -60,21 +60,7 @@
 END LC_CTYPE
 
 LC_MONETARY
-int_curr_symbol      "<U0044><U004B><U004B><U0020>"
-currency_symbol      "<U00A4>"
-mon_decimal_point    "<U002C>"
-mon_thousands_sep    "<U002E>"
-mon_grouping         3;3
-positive_sign        ""
-negative_sign        "<U002D>"
-int_frac_digits      2
-frac_digits          2
-p_cs_precedes        1
-p_sep_by_space       0
-n_cs_precedes        1
-n_sep_by_space       0
-p_sign_posn          1
-n_sign_posn          1
+copy "da_DK"
 END LC_MONETARY
 
 LC_NUMERIC
diff -Naur old/locales.config new/locales.config
--- old/locales.config	2005-08-04 20:03:28.000000000 +0200
+++ new/locales.config	2005-08-15 07:39:31.000000000 +0200
@@ -95,6 +95,7 @@
 cy_GB ISO-8859-14
 da_DK.UTF-8 UTF-8
 da_DK ISO-8859-1
+da_DK@euro ISO-8859-15
 de_AT.UTF-8 UTF-8
 de_AT ISO-8859-1
 de_AT@euro ISO-8859-15
@@ -119,6 +120,7 @@
 en_CA ISO-8859-1
 en_DK.UTF-8 UTF-8
 en_DK ISO-8859-1
+en_DK@euro ISO-8859-15
 en_GB.UTF-8 UTF-8
 en_GB ISO-8859-1
 en_HK.UTF-8 UTF-8



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11jbj3.2.10
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages locales depends on:
ii  debconf                       1.4.57     Debian configuration management sy
ii  libc6 [glibc-2.3.5-3]         2.3.5-3    GNU C Library: Shared libraries an

locales recommends no packages.

-- debconf information:
* locales/locales_to_be_generated: da_DK ISO-8859-15,
                                   da_DK.ISO-8859-15 ISO-8859-15,
                                   da_DK.ISO-8859-1 ISO-8859-1,
                                   da_DK.UTF-8 UTF-8,
                                   en_DK ISO-8859-15,
                                   en_DK.ISO-8859-15 ISO-8859-15,
                                   en_DK.ISO-8859-1 ISO-8859-1,
                                   en_DK.UTF-8 UTF-8,
                                   en_US ISO-8859-15,
                                   en_US.ISO-8859-15 ISO-8859-15,
                                   en_US.ISO-8859-1 ISO-8859-1,
                                   en_US.UTF-8 UTF-8
                                   
* locales/default_environment_locale: None



Reply to: