Patchwork [v2/2] New locale for it_SM

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

Comments

Akhilesh Kumar - Aug. 8, 2017, 11:10 a.m.
New locale is added for "Republic of San Marino"
and Official languages is Italian

https://en.wikipedia.org/wiki/San_Marino

[#BZ 21918]
      * localedata/SUPPORTED : Added  it_SM
      * localedata/locales/it_SM:  Added New File it_SM
---
 localedata/SUPPORTED     |    1 +
 localedata/locales/it_SM |  119 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+), 0 deletions(-)
 create mode 100644 localedata/locales/it_SM

Patch

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index ac6483e..8db09ca 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_SM.UTF-8/UTF-8 \
 it_VA.UTF-8/UTF-8 \
 iu_CA/UTF-8 \
 ja_JP.EUC-JP/EUC-JP \
diff --git a/localedata/locales/it_SM b/localedata/locales/it_SM
new file mode 100644
index 0000000..780451a
--- /dev/null
+++ b/localedata/locales/it_SM
@@ -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 San Marino
+% Contributed by Akhilesh Kumar <akhilesh.k@samsung.com>
+% Language: it
+% Territory: Republic of San Marino
+% Revision: 0.1
+% Date: 08/08/2017 
+% Users: general
+
+LC_IDENTIFICATION
+title      "Italian locale for Republic of San Marino"
+source     "Samsung Electronics Co., Ltd."
+address    ""
+contact    ""
+email      "akhilesh.k@samsung.com"
+tel        ""
+fax        ""
+language   "Italian"
+territory  "San Marino"
+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/san-marino/
+tel_int_fmt "+%c %l"
+% 00 Europe: all countries except Belarus and Russia
+int_prefix     "00"
+int_select     "378"
+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 "Republic of San Marino"
+country_ab2 "SM"
+country_ab3 "SMR"
+country_num 674
+% https://en.wikipedia.org/wiki/List_of_international_vehicle_registration_codes
+country_car    "RSM"
+lang_name    "Italian"
+% it
+lang_ab      "<U0069><U0074>"
+% ita
+lang_term    "<U0069><U0074><U0061>"
+% ita
+lang_lib    "<U0069><U0074><U0061>"
+END LC_ADDRESS