public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: libc-alpha@sourceware.org
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [PATCH 2/2] New locale de_LI
Date: Thu, 24 Mar 2016 20:19:00 -0000	[thread overview]
Message-ID: <1458850770-23717-3-git-send-email-aurelien@aurel32.net> (raw)
In-Reply-To: <1458850770-23717-1-git-send-email-aurelien@aurel32.net>

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

  parent reply	other threads:[~2016-03-24 20:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Aurelien Jarno [this message]
2016-03-25  8:35   ` [PATCH 2/2] New locale de_LI 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1458850770-23717-3-git-send-email-aurelien@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).