From patchwork Thu Jun 30 10:57:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 13501 Received: (qmail 64102 invoked by alias); 30 Jun 2016 10:58:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64080 invoked by uid 89); 30 Jun 2016 10:58:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=LC_MONETARY, Locale, lc_monetary, governed X-HELO: hall.aurel32.net From: Aurelien Jarno To: libc-alpha@sourceware.org Cc: Aurelien Jarno Subject: [PATCH v2 2/2] New locale de_LI Date: Thu, 30 Jun 2016 12:57:33 +0200 Message-Id: <1467284253-21412-2-git-send-email-aurelien@aurel32.net> In-Reply-To: <1467284253-21412-1-git-send-email-aurelien@aurel32.net> References: <1467284253-21412-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 | 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 diff --git a/localedata/ChangeLog b/localedata/ChangeLog index fa4e53b..de5ff6a 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2016-06-30 Aurelien Jarno + + * locales/de_LI: New locale. + * SUPPORTED: Add de_LI. + 2016-06-30 Jordi Mallach Aurelien Jarno diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 16b08ef..2cb785b 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -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 \ diff --git a/localedata/locales/de_LI b/localedata/locales/de_LI new file mode 100644 index 0000000..af7bced --- /dev/null +++ b/localedata/locales/de_LI @@ -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 "" +int_prefix "" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "de_CH" +END LC_MEASUREMENT + +LC_NAME +copy "de_CH" +END LC_NAME + +LC_ADDRESS +postal_fmt "/ + / + / + / + " +country_name "/ + " +country_ab2 "" +country_ab3 "" +country_num 438 +country_car "" +country_post "" +lang_name "" +lang_ab "" +lang_term "" +lang_lib "" +END LC_ADDRESS +