public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 2/2] New locale de_LI
  2016-03-24 20:19 [PATCH 0/2] Add ca_ES@valencia and de_LI locales Aurelien Jarno
  2016-03-24 20:19 ` [PATCH 1/2] New locale ca_ES@valencia [BZ #2522] Aurelien Jarno
@ 2016-03-24 20:19 ` Aurelien Jarno
  2016-03-25  8:35   ` Marko Myllynen
  2016-04-10  5:49   ` Mike Frysinger
  2016-03-25  2:10 ` [PATCH 0/2] Add ca_ES@valencia and de_LI locales Chris Leonard
  2 siblings, 2 replies; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-24 20:19 UTC (permalink / raw)
  To: libc-alpha; +Cc: Aurelien Jarno

The Principality of Liechtenstein currently does not have a corresponding
locale. Given the links with Switzerland, the best is to base the locale
on the de_CH one (German is the official language) and only change the
country related categories: LC_ADDRESS. and LC_TELEPHONE.

localedata/Changelog:
	* locales/de_LI: New locale.
	* SUPPORTED: Add de_LI.
---
 localedata/ChangeLog     |   5 +++
 localedata/SUPPORTED     |   1 +
 localedata/locales/de_LI | 102 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+)
 create mode 100644 localedata/locales/de_LI

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 6374f37..cf6f1ee 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-24  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* locales/de_LI: New locale.
+	* SUPPORTED: Add de_LI.
+
 2016-03-24  Jordi Mallach  <jordi@gnu.org>
 	    Aurelien Jarno  <aurelien@aurel32.net>
 
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 68f13df..51bb91f 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -107,6 +107,7 @@ de_CH/ISO-8859-1 \
 de_DE.UTF-8/UTF-8 \
 de_DE/ISO-8859-1 \
 de_DE@euro/ISO-8859-15 \
+de_LI.UTF-8/UTF-8 \
 de_LU.UTF-8/UTF-8 \
 de_LU/ISO-8859-1 \
 de_LU@euro/ISO-8859-15 \
diff --git a/localedata/locales/de_LI b/localedata/locales/de_LI
new file mode 100644
index 0000000..9271190
--- /dev/null
+++ b/localedata/locales/de_LI
@@ -0,0 +1,102 @@
+comment_char %
+escape_char  /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% German Language Locale for Liechtenstein
+% Language: de
+% Territory: LI
+% Revision: 1.0
+% Date: 2007-11-27
+% Users: general
+% Charset: ISO-8859-1
+
+LC_IDENTIFICATION
+title      "German locale for Liechtenstein"
+source     ""
+address    ""
+contact    ""
+email      "bug-glibc-locales@gnu.org"
+tel        ""
+fax        ""
+language   "German"
+territory  "Liechtenstein"
+revision   "1.0"
+date       "2007-11-27"
+%
+category  "i18n:2000";LC_IDENTIFICATION
+category  "i18n:2000";LC_CTYPE
+category  "i18n:2000";LC_COLLATE
+category  "i18n:2000";LC_TIME
+category  "i18n:2000";LC_NUMERIC
+category  "i18n:2000";LC_MONETARY
+category  "i18n:2000";LC_MESSAGES
+category  "i18n:2000";LC_PAPER
+category  "i18n:2000";LC_NAME
+category  "i18n:2000";LC_ADDRESS
+category  "i18n:2000";LC_TELEPHONE
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "de_CH"
+END LC_CTYPE
+
+LC_COLLATE
+copy "de_CH"
+END LC_COLLATE
+
+LC_MESSAGES
+copy "de_CH"
+END LC_MESSAGES
+
+LC_MONETARY
+copy "de_CH"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "de_CH"
+END LC_NUMERIC
+
+LC_TIME
+copy "de_CH"
+END LC_TIME
+
+LC_PAPER
+copy "de_CH"
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt	"<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
+int_prefix	"<U0034><U0032><U0033>"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "de_CH"
+END LC_MEASUREMENT
+
+LC_NAME
+copy "de_CH"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
+		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
+		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
+		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
+		<U004E><U0025><U0063><U0025><U004E>"
+country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
+		<U0065><U0069><U006E>"
+country_ab2	"<U004C><U0049>"
+country_ab3	"<U004C><U0049><U0045>"
+country_num	438
+lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
+lang_ab		"<U0064><U0065>"
+lang_term	"<U0064><U0065><U0075>"
+lang_lib	"<U0067><U0065><U0072>"
+END LC_ADDRESS
+
-- 
2.7.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 1/2] New locale ca_ES@valencia [BZ #2522]
  2016-03-24 20:19 [PATCH 0/2] Add ca_ES@valencia and de_LI locales Aurelien Jarno
@ 2016-03-24 20:19 ` Aurelien Jarno
  2016-04-10  5:54   ` Mike Frysinger
  2016-03-24 20:19 ` [PATCH 2/2] New locale de_LI Aurelien Jarno
  2016-03-25  2:10 ` [PATCH 0/2] Add ca_ES@valencia and de_LI locales Chris Leonard
  2 siblings, 1 reply; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-24 20:19 UTC (permalink / raw)
  To: libc-alpha; +Cc: Aurelien Jarno

The Valencian (meridional Catalan) locale is basically a copy of the
Catlan locale. The point of having a separate locale is only for PO
translations. This locale is already provided by several distributions
and is already supported by various projects like LibreOffice, Mozilla,
Gnome, KDE.

localedata/Changelog:
	[BZ #2522]
	* locales/ca_ES@valencia: New locale.
	* SUPPORTED: Add ca_ES@valencia.
---
 localedata/ChangeLog              |   7 +++
 localedata/SUPPORTED              |   1 +
 localedata/locales/ca_ES@valencia | 100 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+)
 create mode 100644 localedata/locales/ca_ES@valencia

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 664f88b..6374f37 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,10 @@
+2016-03-24  Jordi Mallach  <jordi@gnu.org>
+	    Aurelien Jarno  <aurelien@aurel32.net>
+
+	[BZ #2522]
+	* locales/ca_ES@valencia: New locale.
+	* SUPPORTED: Add ca_ES@valencia.
+
 2016-03-21  Mike Frysinger  <vapier@gentoo.org>
 
 	[BZ #11213]
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index f8cf0eb..68f13df 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -80,6 +80,7 @@ ca_AD/ISO-8859-15 \
 ca_ES.UTF-8/UTF-8 \
 ca_ES/ISO-8859-1 \
 ca_ES@euro/ISO-8859-15 \
+ca_ES.UTF-8@valencia/UTF-8 \
 ca_FR.UTF-8/UTF-8 \
 ca_FR/ISO-8859-15 \
 ca_IT.UTF-8/UTF-8 \
diff --git a/localedata/locales/ca_ES@valencia b/localedata/locales/ca_ES@valencia
new file mode 100644
index 0000000..56f7827
--- /dev/null
+++ b/localedata/locales/ca_ES@valencia
@@ -0,0 +1,100 @@
+comment_char %
+escape_char  /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Valencian (southern Catalan) locale for Spain with Euro
+%
+% Note that this locale is almost the same as ca_ES@euro.  The point of having
+% a separate locale is only for PO translations, which have a lot of social
+% support and are very appreciated by the Valencian-speaking community.
+%
+% Contact: Jordi Mallach
+% Email: jordi@gnu.org
+% Tel:
+% Fax:
+% Language: ca
+% Territory: ES
+% Option: euro
+% Revision: 1.0
+% Date: 2006-04-06
+% Application: general
+% Users: general
+% Charset: ISO-8859-15
+
+LC_IDENTIFICATION
+title      "Valencian (southern Catalan) locale for Spain with Euro"
+source     ""
+address    ""
+contact    "Jordi Mallach"
+email      "jordi@gnu.org"
+tel        ""
+fax        ""
+language   "Catalan"
+territory  "Spain"
+revision   "1.0"
+date       "2006-04-06"
+%
+category  "i18n:2000";LC_IDENTIFICATION
+category  "i18n:2000";LC_CTYPE
+category  "i18n:2000";LC_COLLATE
+category  "i18n:2000";LC_MONETARY
+category  "i18n:2000";LC_NUMERIC
+category  "i18n:2000";LC_TIME
+category  "i18n:2000";LC_MESSAGES
+category  "i18n:2000";LC_PAPER
+category  "i18n:2000";LC_NAME
+category  "i18n:2000";LC_ADDRESS
+category  "i18n:2000";LC_TELEPHONE
+category  "i18n:2000";LC_MEASUREMENT
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_COLLATE
+copy "ca_ES"
+END LC_COLLATE
+
+LC_MONETARY
+copy "ca_ES"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "ca_ES"
+END LC_NUMERIC
+
+LC_TIME
+copy "ca_ES"
+END LC_TIME
+
+LC_MESSAGES
+copy "ca_ES"
+END LC_MESSAGES
+
+LC_PAPER
+copy "ca_ES"
+END LC_PAPER
+
+LC_NAME
+copy "ca_ES"
+END LC_NAME
+
+LC_ADDRESS
+copy "ca_ES"
+END LC_ADDRESS
+
+LC_TELEPHONE
+copy "ca_ES"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "ca_ES"
+END LC_MEASUREMENT
-- 
2.7.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [PATCH 0/2] Add ca_ES@valencia and de_LI locales.
@ 2016-03-24 20:19 Aurelien Jarno
  2016-03-24 20:19 ` [PATCH 1/2] New locale ca_ES@valencia [BZ #2522] Aurelien Jarno
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-24 20:19 UTC (permalink / raw)
  To: libc-alpha; +Cc: Aurelien Jarno

This patch series adds two locales that we have in Debian for almost
10 years. Now that the licensing issue has been solved (thanks), it is
probably a good idea to merge them.

Aurelien Jarno (2):
  New locale ca_ES@valencia [BZ #2522]
  New locale de_LI

 localedata/ChangeLog              |  12 +++++
 localedata/SUPPORTED              |   2 +
 localedata/locales/ca_ES@valencia | 100 +++++++++++++++++++++++++++++++++++++
 localedata/locales/de_LI          | 102 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 216 insertions(+)
 create mode 100644 localedata/locales/ca_ES@valencia
 create mode 100644 localedata/locales/de_LI

-- 
2.7.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 0/2] Add ca_ES@valencia and de_LI locales.
  2016-03-24 20:19 [PATCH 0/2] Add ca_ES@valencia and de_LI locales Aurelien Jarno
  2016-03-24 20:19 ` [PATCH 1/2] New locale ca_ES@valencia [BZ #2522] Aurelien Jarno
  2016-03-24 20:19 ` [PATCH 2/2] New locale de_LI Aurelien Jarno
@ 2016-03-25  2:10 ` Chris Leonard
  2 siblings, 0 replies; 15+ messages in thread
From: Chris Leonard @ 2016-03-25  2:10 UTC (permalink / raw)
  To: Aurelien Jarno; +Cc: libc-alpha

I am very much in favor of including these locales in glibc.

cjl

On Thu, Mar 24, 2016 at 4:19 PM, Aurelien Jarno <aurelien@aurel32.net> wrote:
> This patch series adds two locales that we have in Debian for almost
> 10 years. Now that the licensing issue has been solved (thanks), it is
> probably a good idea to merge them.
>
> Aurelien Jarno (2):
>   New locale ca_ES@valencia [BZ #2522]
>   New locale de_LI
>
>  localedata/ChangeLog              |  12 +++++
>  localedata/SUPPORTED              |   2 +
>  localedata/locales/ca_ES@valencia | 100 +++++++++++++++++++++++++++++++++++++
>  localedata/locales/de_LI          | 102 ++++++++++++++++++++++++++++++++++++++
>  4 files changed, 216 insertions(+)
>  create mode 100644 localedata/locales/ca_ES@valencia
>  create mode 100644 localedata/locales/de_LI
>
> --
> 2.7.0
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-24 20:19 ` [PATCH 2/2] New locale de_LI Aurelien Jarno
@ 2016-03-25  8:35   ` Marko Myllynen
  2016-03-25  9:49     ` Aurelien Jarno
  2016-04-10  5:49   ` Mike Frysinger
  1 sibling, 1 reply; 15+ messages in thread
From: Marko Myllynen @ 2016-03-25  8:35 UTC (permalink / raw)
  To: libc-alpha

Hi,

On 2016-03-24 22:19, Aurelien Jarno wrote:
> The Principality of Liechtenstein currently does not have a corresponding
> locale. Given the links with Switzerland, the best is to base the locale
> on the de_CH one (German is the official language) and only change the
> country related categories: LC_ADDRESS. and LC_TELEPHONE.
> +
> +LC_ADDRESS
> +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
> +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
> +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
> +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
> +		<U004E><U0025><U0063><U0025><U004E>"
> +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
> +		<U0065><U0069><U006E>"
> +country_ab2	"<U004C><U0049>"
> +country_ab3	"<U004C><U0049><U0045>"
> +country_num	438
> +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
> +lang_ab		"<U0064><U0065>"
> +lang_term	"<U0064><U0065><U0075>"
> +lang_lib	"<U0067><U0065><U0072>"
> +END LC_ADDRESS

Do you think could country_{post,car,isbn} be defined as well here?

Thanks,

-- 
Marko Myllynen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-25  8:35   ` Marko Myllynen
@ 2016-03-25  9:49     ` Aurelien Jarno
  2016-03-25 11:39       ` Aurelien Jarno
  0 siblings, 1 reply; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-25  9:49 UTC (permalink / raw)
  To: libc-alpha

On 2016-03-25 10:35, Marko Myllynen wrote:
> Hi,
> 
> On 2016-03-24 22:19, Aurelien Jarno wrote:
> > The Principality of Liechtenstein currently does not have a corresponding
> > locale. Given the links with Switzerland, the best is to base the locale
> > on the de_CH one (German is the official language) and only change the
> > country related categories: LC_ADDRESS. and LC_TELEPHONE.
> > +
> > +LC_ADDRESS
> > +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
> > +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
> > +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
> > +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
> > +		<U004E><U0025><U0063><U0025><U004E>"
> > +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
> > +		<U0065><U0069><U006E>"
> > +country_ab2	"<U004C><U0049>"
> > +country_ab3	"<U004C><U0049><U0045>"
> > +country_num	438
> > +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
> > +lang_ab		"<U0064><U0065>"
> > +lang_term	"<U0064><U0065><U0075>"
> > +lang_lib	"<U0067><U0065><U0072>"
> > +END LC_ADDRESS
> 
> Do you think could country_{post,car,isbn} be defined as well here?

The original patch we have in Debian does not define them. Now if I can
find the information, that can clearly be done.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-25  9:49     ` Aurelien Jarno
@ 2016-03-25 11:39       ` Aurelien Jarno
  2016-03-25 11:59         ` Marko Myllynen
  0 siblings, 1 reply; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-25 11:39 UTC (permalink / raw)
  To: libc-alpha

On 2016-03-25 10:49, Aurelien Jarno wrote:
> On 2016-03-25 10:35, Marko Myllynen wrote:
> > Hi,
> > 
> > On 2016-03-24 22:19, Aurelien Jarno wrote:
> > > The Principality of Liechtenstein currently does not have a corresponding
> > > locale. Given the links with Switzerland, the best is to base the locale
> > > on the de_CH one (German is the official language) and only change the
> > > country related categories: LC_ADDRESS. and LC_TELEPHONE.
> > > +
> > > +LC_ADDRESS
> > > +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
> > > +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
> > > +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
> > > +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
> > > +		<U004E><U0025><U0063><U0025><U004E>"
> > > +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
> > > +		<U0065><U0069><U006E>"
> > > +country_ab2	"<U004C><U0049>"
> > > +country_ab3	"<U004C><U0049><U0045>"
> > > +country_num	438
> > > +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
> > > +lang_ab		"<U0064><U0065>"
> > > +lang_term	"<U0064><U0065><U0075>"
> > > +lang_lib	"<U0067><U0065><U0072>"
> > > +END LC_ADDRESS
> > 
> > Do you think could country_{post,car,isbn} be defined as well here?
> 
> The original patch we have in Debian does not define them. Now if I can
> find the information, that can clearly be done.

I have found the country_post value (LI), the country_car value (FL),
but not the country_isbn value. It seems the number 3 (German) is used,
but I am not fully sure about that, so I prefer a missing value than a
wrong one.

I'll send a new version of this patch after it get some more comments.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-25 11:39       ` Aurelien Jarno
@ 2016-03-25 11:59         ` Marko Myllynen
  2016-03-25 12:04           ` Marko Myllynen
  0 siblings, 1 reply; 15+ messages in thread
From: Marko Myllynen @ 2016-03-25 11:59 UTC (permalink / raw)
  To: libc-alpha

Hi,

On 2016-03-25 13:39, Aurelien Jarno wrote:
> On 2016-03-25 10:49, Aurelien Jarno wrote:
>> On 2016-03-25 10:35, Marko Myllynen wrote:
>>> On 2016-03-24 22:19, Aurelien Jarno wrote:
>>>> The Principality of Liechtenstein currently does not have a corresponding
>>>> locale. Given the links with Switzerland, the best is to base the locale
>>>> on the de_CH one (German is the official language) and only change the
>>>> country related categories: LC_ADDRESS. and LC_TELEPHONE.
>>>> +
>>>> +LC_ADDRESS
>>>> +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>>>> +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
>>>> +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
>>>> +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
>>>> +		<U004E><U0025><U0063><U0025><U004E>"
>>>> +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
>>>> +		<U0065><U0069><U006E>"
>>>> +country_ab2	"<U004C><U0049>"
>>>> +country_ab3	"<U004C><U0049><U0045>"
>>>> +country_num	438
>>>> +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
>>>> +lang_ab		"<U0064><U0065>"
>>>> +lang_term	"<U0064><U0065><U0075>"
>>>> +lang_lib	"<U0067><U0065><U0072>"
>>>> +END LC_ADDRESS
>>>
>>> Do you think could country_{post,car,isbn} be defined as well here?
>>
>> The original patch we have in Debian does not define them. Now if I can
>> find the information, that can clearly be done.
> 
> I have found the country_post value (LI), the country_car value (FL),
> but not the country_isbn value. It seems the number 3 (German) is used,
> but I am not fully sure about that, so I prefer a missing value than a
> wrong one.

I was under impression country_isbn is for national codes, not for
language codes. Thus for Luxembourg 99959 would be correct.

In any case, I'll ask from a Luxembourgian colleague about this.

Thanks,

-- 
Marko Myllynen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-25 11:59         ` Marko Myllynen
@ 2016-03-25 12:04           ` Marko Myllynen
  2016-03-25 16:11             ` Aurelien Jarno
  0 siblings, 1 reply; 15+ messages in thread
From: Marko Myllynen @ 2016-03-25 12:04 UTC (permalink / raw)
  To: libc-alpha

Hi,

On 2016-03-25 13:59, Marko Myllynen wrote:
> On 2016-03-25 13:39, Aurelien Jarno wrote:
>> On 2016-03-25 10:49, Aurelien Jarno wrote:
>>> On 2016-03-25 10:35, Marko Myllynen wrote:
>>>> On 2016-03-24 22:19, Aurelien Jarno wrote:
>>>>> The Principality of Liechtenstein currently does not have a corresponding
>>>>> locale. Given the links with Switzerland, the best is to base the locale
>>>>> on the de_CH one (German is the official language) and only change the
>>>>> country related categories: LC_ADDRESS. and LC_TELEPHONE.
>>>>> +
>>>>> +LC_ADDRESS
>>>>> +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
>>>>> +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
>>>>> +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
>>>>> +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
>>>>> +		<U004E><U0025><U0063><U0025><U004E>"
>>>>> +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
>>>>> +		<U0065><U0069><U006E>"
>>>>> +country_ab2	"<U004C><U0049>"
>>>>> +country_ab3	"<U004C><U0049><U0045>"
>>>>> +country_num	438
>>>>> +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
>>>>> +lang_ab		"<U0064><U0065>"
>>>>> +lang_term	"<U0064><U0065><U0075>"
>>>>> +lang_lib	"<U0067><U0065><U0072>"
>>>>> +END LC_ADDRESS
>>>>
>>>> Do you think could country_{post,car,isbn} be defined as well here?
>>>
>>> The original patch we have in Debian does not define them. Now if I can
>>> find the information, that can clearly be done.
>>
>> I have found the country_post value (LI), the country_car value (FL),
>> but not the country_isbn value. It seems the number 3 (German) is used,
>> but I am not fully sure about that, so I prefer a missing value than a
>> wrong one.
> 
> I was under impression country_isbn is for national codes, not for
> language codes. Thus for Luxembourg 99959 would be correct.
> 
> In any case, I'll ask from a Luxembourgian colleague about this.

Err, nevermind, I obviously mixed up Lichtenstein and Luxembourg, mea culpa.

Thanks,

-- 
Marko Myllynen

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-25 12:04           ` Marko Myllynen
@ 2016-03-25 16:11             ` Aurelien Jarno
  0 siblings, 0 replies; 15+ messages in thread
From: Aurelien Jarno @ 2016-03-25 16:11 UTC (permalink / raw)
  To: Marko Myllynen; +Cc: libc-alpha

On 2016-03-25 14:04, Marko Myllynen wrote:
> Hi,
> 
> On 2016-03-25 13:59, Marko Myllynen wrote:
> > On 2016-03-25 13:39, Aurelien Jarno wrote:
> >> On 2016-03-25 10:49, Aurelien Jarno wrote:
> >>> On 2016-03-25 10:35, Marko Myllynen wrote:
> >>>> On 2016-03-24 22:19, Aurelien Jarno wrote:
> >>>>> The Principality of Liechtenstein currently does not have a corresponding
> >>>>> locale. Given the links with Switzerland, the best is to base the locale
> >>>>> on the de_CH one (German is the official language) and only change the
> >>>>> country related categories: LC_ADDRESS. and LC_TELEPHONE.
> >>>>> +
> >>>>> +LC_ADDRESS
> >>>>> +postal_fmt	"<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
> >>>>> +		<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
> >>>>> +		<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
> >>>>> +		<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
> >>>>> +		<U004E><U0025><U0063><U0025><U004E>"
> >>>>> +country_name	"<U004C><U0069><U0065><U0063><U0068><U0074><U0065><U006E><U0073><U0074>/
> >>>>> +		<U0065><U0069><U006E>"
> >>>>> +country_ab2	"<U004C><U0049>"
> >>>>> +country_ab3	"<U004C><U0049><U0045>"
> >>>>> +country_num	438
> >>>>> +lang_name	"<U0044><U0065><U0075><U0074><U0073><U0063><U0068>"
> >>>>> +lang_ab		"<U0064><U0065>"
> >>>>> +lang_term	"<U0064><U0065><U0075>"
> >>>>> +lang_lib	"<U0067><U0065><U0072>"
> >>>>> +END LC_ADDRESS
> >>>>
> >>>> Do you think could country_{post,car,isbn} be defined as well here?
> >>>
> >>> The original patch we have in Debian does not define them. Now if I can
> >>> find the information, that can clearly be done.
> >>
> >> I have found the country_post value (LI), the country_car value (FL),
> >> but not the country_isbn value. It seems the number 3 (German) is used,
> >> but I am not fully sure about that, so I prefer a missing value than a
> >> wrong one.
> > 
> > I was under impression country_isbn is for national codes, not for
> > language codes. Thus for Luxembourg 99959 would be correct.
> > 
> > In any case, I'll ask from a Luxembourgian colleague about this.
> 
> Err, nevermind, I obviously mixed up Lichtenstein and Luxembourg, mea culpa.
> 

Still that's a good example. de_LU and fr_LU do not define country_isbn.
lb_LU defines it as 2 not 99959.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-03-24 20:19 ` [PATCH 2/2] New locale de_LI Aurelien Jarno
  2016-03-25  8:35   ` Marko Myllynen
@ 2016-04-10  5:49   ` Mike Frysinger
  2016-04-10 16:21     ` Aurelien Jarno
  1 sibling, 1 reply; 15+ messages in thread
From: Mike Frysinger @ 2016-04-10  5:49 UTC (permalink / raw)
  To: Aurelien Jarno; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> +% German Language Locale for Liechtenstein
> +% Language: de
> +% Territory: LI
> +% Revision: 1.0
> +% Date: 2007-11-27
> +% Users: general
> +% Charset: ISO-8859-1

i'm not sure this block serves any useful purpose.  should just punt it.

> +LC_TELEPHONE
> +tel_int_fmt	"<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"

seems like you can/should just copy i18n here.  yes, this statement
applies to many other locales, but we shouldn't keep adding more bad
ones :).

otherwise looks OK
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] New locale ca_ES@valencia [BZ #2522]
  2016-03-24 20:19 ` [PATCH 1/2] New locale ca_ES@valencia [BZ #2522] Aurelien Jarno
@ 2016-04-10  5:54   ` Mike Frysinger
  2016-04-10 16:19     ` Aurelien Jarno
  0 siblings, 1 reply; 15+ messages in thread
From: Mike Frysinger @ 2016-04-10  5:54 UTC (permalink / raw)
  To: Aurelien Jarno; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> +% Contact: Jordi Mallach
> +% Email: jordi@gnu.org
> +% Tel:
> +% Fax:
> +% Language: ca
> +% Territory: ES
> +% Option: euro
> +% Revision: 1.0
> +% Date: 2006-04-06
> +% Application: general
> +% Users: general
> +% Charset: ISO-8859-15

this block seems pointless/redundant.  can we just drop it ?

> +LC_CTYPE
> +copy "i18n"
> +END LC_CTYPE

why not ca_ES ?
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 1/2] New locale ca_ES@valencia [BZ #2522]
  2016-04-10  5:54   ` Mike Frysinger
@ 2016-04-10 16:19     ` Aurelien Jarno
  0 siblings, 0 replies; 15+ messages in thread
From: Aurelien Jarno @ 2016-04-10 16:19 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

On 2016-04-10 01:54, Mike Frysinger wrote:
> On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> > +% Contact: Jordi Mallach
> > +% Email: jordi@gnu.org
> > +% Tel:
> > +% Fax:
> > +% Language: ca
> > +% Territory: ES
> > +% Option: euro
> > +% Revision: 1.0
> > +% Date: 2006-04-06
> > +% Application: general
> > +% Users: general
> > +% Charset: ISO-8859-15
> 
> this block seems pointless/redundant.  can we just drop it ?

Ok.

> > +LC_CTYPE
> > +copy "i18n"
> > +END LC_CTYPE
> 
> why not ca_ES ?

No real reason, I'll change that.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-04-10  5:49   ` Mike Frysinger
@ 2016-04-10 16:21     ` Aurelien Jarno
  2016-04-10 16:57       ` Mike Frysinger
  0 siblings, 1 reply; 15+ messages in thread
From: Aurelien Jarno @ 2016-04-10 16:21 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

On 2016-04-10 01:48, Mike Frysinger wrote:
> On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> > +% German Language Locale for Liechtenstein
> > +% Language: de
> > +% Territory: LI
> > +% Revision: 1.0
> > +% Date: 2007-11-27
> > +% Users: general
> > +% Charset: ISO-8859-1
> 
> i'm not sure this block serves any useful purpose.  should just punt it.

Ok.

> > +LC_TELEPHONE
> > +tel_int_fmt	"<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
> 
> seems like you can/should just copy i18n here.  yes, this statement
> applies to many other locales, but we shouldn't keep adding more bad
> ones :).

If I copy i18n, how can I define also define int_prefix? I tried using
using copy and defining it below, and I get:

| de_LI:69: no other keyword shall be specified when `copy' is used

Any idea?

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/2] New locale de_LI
  2016-04-10 16:21     ` Aurelien Jarno
@ 2016-04-10 16:57       ` Mike Frysinger
  0 siblings, 0 replies; 15+ messages in thread
From: Mike Frysinger @ 2016-04-10 16:57 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

On 10 Apr 2016 18:21, Aurelien Jarno wrote:
> On 2016-04-10 01:48, Mike Frysinger wrote:
> > On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> > > +LC_TELEPHONE
> > > +tel_int_fmt	"<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025><U006C>"
> > 
> > seems like you can/should just copy i18n here.  yes, this statement
> > applies to many other locales, but we shouldn't keep adding more bad
> > ones :).
> 
> If I copy i18n, how can I define also define int_prefix? I tried using
> using copy and defining it below, and I get:
> 
> | de_LI:69: no other keyword shall be specified when `copy' is used
> 
> Any idea?

sorry, i thought you could use copy & then define more stuff after the
copy.  if that's not the case and i'm misremembering, then ignore it.
just drop a comment in there saying "same as i18n".
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-04-10 16:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-24 20:19 [PATCH 0/2] Add ca_ES@valencia and de_LI locales Aurelien Jarno
2016-03-24 20:19 ` [PATCH 1/2] New locale ca_ES@valencia [BZ #2522] Aurelien Jarno
2016-04-10  5:54   ` Mike Frysinger
2016-04-10 16:19     ` Aurelien Jarno
2016-03-24 20:19 ` [PATCH 2/2] New locale de_LI Aurelien Jarno
2016-03-25  8:35   ` Marko Myllynen
2016-03-25  9:49     ` Aurelien Jarno
2016-03-25 11:39       ` Aurelien Jarno
2016-03-25 11:59         ` Marko Myllynen
2016-03-25 12:04           ` Marko Myllynen
2016-03-25 16:11             ` Aurelien Jarno
2016-04-10  5:49   ` Mike Frysinger
2016-04-10 16:21     ` Aurelien Jarno
2016-04-10 16:57       ` Mike Frysinger
2016-03-25  2:10 ` [PATCH 0/2] Add ca_ES@valencia and de_LI locales Chris Leonard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).