Patchwork [v2/1] New locale for it_VA

login
register
mail settings
Submitter Akhilesh Kumar
Date Aug. 8, 2017, 11:10 a.m.
Message ID <1502190603-34335-1-git-send-email-akhilesh.k@samsung.com>
Download mbox | patch
Permalink /patch/21974/
State Under Review
Delegated to: Mike Fabian
Headers show

Comments

Akhilesh Kumar - Aug. 8, 2017, 11:10 a.m.
New locale is added for "Vatican City",smallest country in the world
and Official languages is Italian

https://simple.wikipedia.org/wiki/Vatican_City

[#BZ 21919]
     * localedata/SUPPORTED : Added it_VA
     * localedata/locales/it_VA: Added New File it_VA

---
 localedata/SUPPORTED     |    1 +
 localedata/locales/it_VA |  119 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+), 0 deletions(-)
 create mode 100644 localedata/locales/it_VA

Patch

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index fa97877..ac6483e 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -273,6 +273,7 @@  it_CH/ISO-8859-1 \
 it_IT.UTF-8/UTF-8 \
 it_IT/ISO-8859-1 \
 it_IT@euro/ISO-8859-15 \
+it_VA.UTF-8/UTF-8 \
 iu_CA/UTF-8 \
 ja_JP.EUC-JP/EUC-JP \
 ja_JP.UTF-8/UTF-8 \
diff --git a/localedata/locales/it_VA b/localedata/locales/it_VA
new file mode 100644
index 0000000..d436235
--- /dev/null
+++ b/localedata/locales/it_VA
@@ -0,0 +1,119 @@ 
+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.
+
+% Italian Language Locale for Vatican City
+% Contributed by Akhilesh Kumar <akhilesh.k@samsung.com>
+% Language: it
+% Territory: VA
+% Revision: 0.1
+% Date: 08/08/2017 
+% Users: general
+
+LC_IDENTIFICATION
+title      "Italian locale for Vatican City"
+source     "Samsung Electronics Co., Ltd."
+address    ""
+contact    ""
+email      "akhilesh.k@samsung.com"
+tel        ""
+fax        ""
+language   "Italian"
+territory  "Vatican City"
+revision   "0.1"
+date       "2017-08-08"
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_COLLATE
+copy "it_IT"
+END LC_COLLATE
+
+LC_CTYPE
+copy "it_IT"
+END LC_CTYPE
+
+LC_MESSAGES
+copy "it_IT"
+END LC_MESSAGES
+
+LC_MONETARY
+int_curr_symbol           "EUR "
+currency_symbol           "<U20AC>"
+mon_decimal_point         ","
+mon_thousands_sep         "."
+mon_grouping              3;3
+positive_sign             ""
+negative_sign             "-"
+int_frac_digits           2
+frac_digits               2
+p_cs_precedes             1
+p_sep_by_space            1
+n_cs_precedes             1
+n_sep_by_space            1
+p_sign_posn               1
+n_sign_posn               1
+END LC_MONETARY
+
+LC_NUMERIC
+copy "it_IT"
+END LC_NUMERIC
+
+LC_TIME
+copy "it_IT"
+END LC_TIME
+
+LC_PAPER
+copy "it_IT"
+END LC_PAPER
+
+LC_TELEPHONE
+% https://www.howtocallabroad.com/vatican/
+tel_int_fmt "+%c %l"
+% 00 Europe: all countries except Belarus and Russia
+int_prefix     "00"
+int_select     "39,379"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "it_IT"
+END LC_MEASUREMENT
+
+LC_NAME
+copy "it_IT"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt   "%f%N%h%s%N%T"
+country_name "Vatican City"
+country_ab2 "VA"
+country_ab3 "VAT"
+country_num 336
+% https://en.wikipedia.org/wiki/List_of_international_vehicle_registration_codes
+country_car    "SCV"
+lang_name    "Italian"
+% it
+lang_ab      "<U0069><U0074>"
+% ita
+lang_term    "<U0069><U0074><U0061>"
+% ita
+lang_lib    "<U0069><U0074><U0061>"
+END LC_ADDRESS