[v2,2/2] New locale de_LI
Commit Message
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 | 99 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 105 insertions(+)
create mode 100644 localedata/locales/de_LI
Changes v1 -> v2
- Add country_car and country_post
- Add a comment telling that tel_int_fmt is the same as i18n
Comments
Hi,
On 2016-06-30 13:57, 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.
>
> localedata/Changelog:
> * locales/de_LI: New locale.
> * SUPPORTED: Add de_LI.
LGTM.
Thanks,
LC_ADDRESS: invalid escape `% ' sequence in field `postal_fmt'
make[2]: *** [Makefile:205: install-de_LI.UTF-8/UTF-8] Error 1
Andreas.
On 2016-07-07 09:28, Andreas Schwab wrote:
> LC_ADDRESS: invalid escape `% ' sequence in field `postal_fmt'
> make[2]: *** [Makefile:205: install-de_LI.UTF-8/UTF-8] Error 1
Oops I changed the indentation before submitting the patch, and I failed
to test it correctly. I have just pushed a fix. Sorry about that.
Aurelien
@@ -1,3 +1,8 @@
+2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
+
+ * locales/de_LI: New locale.
+ * SUPPORTED: Add de_LI.
+
2016-06-30 Jordi Mallach <jordi@gnu.org>
Aurelien Jarno <aurelien@aurel32.net>
@@ -110,6 +110,7 @@ de_DE/ISO-8859-1 \
de_DE@euro/ISO-8859-15 \
de_IT.UTF-8/UTF-8 \
de_IT/ISO-8859-1 \
+de_LI.UTF-8/UTF-8 \
de_LU.UTF-8/UTF-8 \
de_LU/ISO-8859-1 \
de_LU@euro/ISO-8859-15 \
new file mode 100644
@@ -0,0 +1,99 @@
+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
+
+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
+% same as i18n
+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
+country_car "<U0046><U004C>"
+country_post "<U004C><U0049>"
+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
+