This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] [BZ 17475] New Bhilodi and Tulu locales


Added ChangeLog and modified SUPPORTED file in order to add Tulu and Bhili
locales into it.
Updated patch is:

    Add new Bhili and Tulu locales.
    
    ChangeLog:
    
    	* locale/iso-639.def: Define Bhili and Tulu language codes.
    
    localedata/
    	* SUPPORTED: Add Bhili and Tulu locales.
    	* locales/tu_IN: New Tulu locale.
    	* locales/bh_IN: New Bhili locale.

diff --git a/locale/iso-639.def b/locale/iso-639.def
index 994792e..2529425 100644
--- a/locale/iso-639.def
+++ b/locale/iso-639.def
@@ -65,6 +65,7 @@ DEFINE_LANGUAGE_CODE ("Belarusian", be, bel, bel)
 DEFINE_LANGUAGE_CODE3 ("Bemba", bem, bem)
 DEFINE_LANGUAGE_CODE ("Bengali", bn, ben, ben)
 DEFINE_LANGUAGE_CODE3 ("Berber (Other)", ber, ber)
+DEFINE_LANGUAGE_CODE ("Bhili", bh, bhb, bhb)
 DEFINE_LANGUAGE_CODE3 ("Bhojpuri", bho, bho)
 DEFINE_LANGUAGE_CODE ("Bihari", bh, bih, bih)
 DEFINE_LANGUAGE_CODE3 ("Bikol", bik, bik)
@@ -474,6 +475,7 @@ DEFINE_LANGUAGE_CODE ("Tonga (Tonga Islands)", to, ton,
ton)
 DEFINE_LANGUAGE_CODE3 ("Tsimshian", tsi, tsi)
 DEFINE_LANGUAGE_CODE ("Tsonga", ts, tso, tso)
 DEFINE_LANGUAGE_CODE ("Tswana", tn, tsn, tsn)
+DEFINE_LANGUAGE_CODE ("Tulu", tu, tcy, tcy)
 DEFINE_LANGUAGE_CODE3 ("Tumbuka", tum, tum)
 DEFINE_LANGUAGE_CODE3 ("Tupi languages", tup, tup)
 DEFINE_LANGUAGE_CODE3 ("Turkish, Ottoman (1500-1928)", ota, ota)
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 4843fe9..6ef6dcd 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -62,6 +62,7 @@ ber_DZ/UTF-8 \
 ber_MA/UTF-8 \
 bg_BG.UTF-8/UTF-8 \
 bg_BG/CP1251 \
+bh_IN.UTF-8/UTF-8 \
 bho_IN/UTF-8 \
 bn_BD/UTF-8 \
 bn_IN/UTF-8 \
@@ -421,6 +422,7 @@ tr_TR/ISO-8859-9 \
 ts_ZA/UTF-8 \
 tt_RU/UTF-8 \
 tt_RU@iqtelif/UTF-8 \
+tu_IN.UTF-8/UTF-8 \
 ug_CN/UTF-8 \
 uk_UA.UTF-8/UTF-8 \
 uk_UA/KOI8-U \
diff --git a/localedata/locales/bh_IN b/localedata/locales/bh_IN
new file mode 100644
index 0000000..a345637
--- /dev/null
+++ b/localedata/locales/bh_IN
@@ -0,0 +1,179 @@
+comment_char    %
+escape_char     /
+% Bhili(devanagari) language locale for India.
+% Contributed by Alexey Merzliakov <alexey.merzlyakov@samsung.com>
+
+LC_IDENTIFICATION
+title      "Bhili(devanagari) language locale for India"
+source     "Samsung Electronics Co., Ltd."
+address    ""
+contact    ""
+email      "alexey.merzlyakov@samsung.com"
+tel        ""
+fax        ""
+language   "Bhili"
+territory  "India"
+revision   "0.1"
+date       "2014-09-30"
+%
+category  "bh_IN:2014";LC_IDENTIFICATION
+category  "bh_IN:2014";LC_CTYPE
+category  "bh_IN:2014";LC_COLLATE
+category  "bh_IN:2014";LC_TIME
+category  "bh_IN:2014";LC_NUMERIC
+category  "bh_IN:2014";LC_MONETARY
+category  "bh_IN:2014";LC_MESSAGES
+category  "bh_IN:2014";LC_PAPER
+category  "bh_IN:2014";LC_NAME
+category  "bh_IN:2014";LC_ADDRESS
+category  "bh_IN:2014";LC_TELEPHONE
+category  "bh_IN:2014";LC_MEASUREMENT
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "ks_IN"
+END LC_CTYPE
+
+LC_COLLATE
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_MONETARY
+copy "ks_IN"
+END LC_MONETARY
+
+
+LC_NUMERIC
+copy "hi_IN"
+END LC_NUMERIC
+
+
+LC_TIME
+% This is the POSIX Locale definition for the LC_TIME category.
+% These are generated based on XML base Locale definition file
+% for IBM Class for Unicode/Java
+%
+% Abbreviated weekday names (%a)
+abday       "<U0053><U0075><U006E>";/
+            "<U004D><U006F><U006E>";/
+            "<U0054><U0075><U0065>";/
+            "<U0057><U0065><U0064>";/
+            "<U0054><U0068><U0075>";/
+            "<U0046><U0072><U0069>";/
+            "<U0053><U0061><U0074>"
+%
+% Full weekday names (%A)
+day         "<U0053><U0075><U006E><U0064><U0061><U0079>";/
+            "<U004D><U006F><U006E><U0064><U0061><U0079>";/
+            "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";/
+
"<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
+            "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";/
+            "<U0046><U0072><U0069><U0064><U0061><U0079>";/
+            "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
+%
+% Abbreviated month names (%b)
+abmon       "<U004A><U0061><U006E>";/
+            "<U0046><U0065><U0062>";/
+            "<U004D><U0061><U0072>";/
+            "<U0041><U0070><U0072>";/
+            "<U004D><U0061><U0079>";/
+            "<U004A><U0075><U006E>";/
+            "<U004A><U0075><U006C>";/
+            "<U0041><U0075><U0067>";/
+            "<U0053><U0065><U0070>";/
+            "<U004F><U0063><U0074>";/
+            "<U004E><U006F><U0076>";/
+            "<U0044><U0065><U0063>"
+%
+% Full month names (%B)
+mon         "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
+            "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
+            "<U004D><U0061><U0072><U0063><U0068>";/
+            "<U0041><U0070><U0072><U0069><U006C>";/
+            "<U004D><U0061><U0079>";/
+            "<U004A><U0075><U006E><U0065>";/
+            "<U004A><U0075><U006C><U0079>";/
+            "<U0041><U0075><U0067><U0075><U0073><U0074>";/
+
"<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
+            "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
+            "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
+            "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
+%
+% Equivalent of AM PM
+am_pm       "<U0041><U004D>";/
+            "<U0050><U004D>"
+%
+% Appropriate date and time representation
+% %A %d %b %Y%I:%M:%S  %Z
+d_t_fmt     "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059><U0020><U0025><U0049><U003A><U0025><U004D><U003A>/
+<U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+%
+% Appropriate date representation
+% %A %d %b %Y
+d_fmt       "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059>"
+%
+% Appropriate time representation
+% %I:%M:%S  %Z
+t_fmt       "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0020><U0025><U005A>"
+%
+% Appropriate 12 h time representation (%r)
+t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0025><U0070><U0020><U0025><U005A>"
+%
+date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+<U0025><U005A><U0020><U0025><U0059>"
+%
+END LC_TIME
+
+
+LC_MESSAGES
+yesexpr "<U005E><U005B><U0079><U0059><U005D><U002E><U002A>"
+noexpr  "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+
+LC_PAPER
+copy "hi_IN"
+END LC_PAPER
+
+
+LC_NAME
+name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074>/
+<U0025><U0067>"
+name_gen    ""
+name_mr     "<U004D><U0072><U002E>"
+name_mrs    "<U004D><U0072><U0073><U002E>"
+name_miss   "<U004D><U0069><U0073><U0073><U002E>"
+name_ms     "<U004D><U0073><U002E>"
+
+END LC_NAME
+
+
+LC_ADDRESS
+% This is the ISO_IEC TR14652 Locale definition for the LC_ADDRESS category
+% generated by IBM Basic CountryPack Transformer.
+postal_fmt
"<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U002
5><U0065><U0025><U0072>"
+country_ab2 "<U0049><U004E>"
+country_ab3 "<U0049><U004E><U0044>"
+country_car "<U0049><U004E><U0044>"
+country_num 356
+lang_name     "<U0062><U0068><U0069><U006C><U0069>"
+lang_ab       "<U0062><U0068>"
+lang_term     "<U0062><U0068><U0062>"
+lang_lib      "<U0062><U0068><U0062>"
+END LC_ADDRESS
+
+
+LC_TELEPHONE
+copy "hi_IN"
+END LC_TELEPHONE
+
+
+LC_MEASUREMENT
+copy "hi_IN"
+END LC_MEASUREMENT
diff --git a/localedata/locales/tu_IN b/localedata/locales/tu_IN
new file mode 100644
index 0000000..0201bbd
--- /dev/null
+++ b/localedata/locales/tu_IN
@@ -0,0 +1,195 @@
+comment_char    %
+escape_char     /
+% Tulu (kannada) language locale for India.
+
+% *** Below just modify to suit your language. I have modified for Kannada
+% *** other language codes - Gujarati - gu, Punjabi - pa, Oriya - or
+
+LC_IDENTIFICATION
+title      "Tulu language locale for India"
+source     "IndLinux.org, Samsung Electronics Co., Ltd."
+address    ""
+contact    ""
+email      "alexey.merzlyakov@samsung.com"
+tel        ""
+fax        ""
+language   "Tulu"
+territory  "India"
+revision   "0.1"
+date       "2014-09-30"
+%
+category  "tu_IN:2014";LC_IDENTIFICATION
+category  "tu_IN:2014";LC_CTYPE
+category  "tu_IN:2014";LC_COLLATE
+category  "tu_IN:2014";LC_TIME
+category  "tu_IN:2014";LC_NUMERIC
+category  "tu_IN:2014";LC_MONETARY
+category  "tu_IN:2014";LC_MESSAGES
+category  "tu_IN:2014";LC_PAPER
+category  "tu_IN:2014";LC_NAME
+category  "tu_IN:2014";LC_ADDRESS
+category  "tu_IN:2014";LC_TELEPHONE
+category  "tu_IN:2014";LC_MEASUREMENT
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "kn_IN"
+END LC_CTYPE
+
+LC_COLLATE
+
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+
+END LC_COLLATE
+
+LC_MONETARY
+copy "kn_IN"
+END LC_MONETARY
+
+
+LC_NUMERIC
+copy "hi_IN"
+END LC_NUMERIC
+
+
+% *** Modify them for Kannada - eg write down on paper - see what all
unicode
+% *** characters are needed, look up their codes & put them here - Kannada
+
+LC_TIME
+% This is the POSIX Locale definition for the LC_TIME category.
+% These are generated based on XML base Locale definition file
+% for IBM Class for Unicode/Java
+%
+% Abbreviated weekday names (%a)
+abday       "<U0C90>";/
+            "<U0CB8><U0CCB>";/
+            "<U0C85><U0C82>";/
+            "<U0CAC><U0CC1>";/
+            "<U0C97><U0CC1>";/
+            "<U0CB6><U0CC1>";/
+            "<U0CB6>"
+%
+% Full weekday names (%A)
+day         "<U0C90><U0CA5><U0CBE><U0CB0>";/
+            "<U0CB8><U0CCB><U0CAE><U0CBE><U0CB0>";/
+            "<U0C85><U0C82><U0C97><U0CB0><U0CC6>";/
+            "<U0CAC><U0CC1><U0CA7><U0CBE><U0CB0>";/
+            "<U0C97><U0CC1><U0CB0><U0CC1><U0CB5><U0CBE><U0CB0>";/
+            "<U0CB6><U0CC1><U0C95><U0CCD><U0CB0><U0CB0>";/
+            "<U0CB6><U0CA8><U0CBF><U0CB5><U0CBE><U0CB0>"
+%
+% Abbreviated month names (%b)
+abmon       "<U0C9C>";/
+            "<U0CAB><U0CC6>";/
+            "<U0CAE><U0CBE>";/
+            "<U0C8F>";/
+            "<U0CAE><U0CC7>";/
+            "<U0C9C><U0CC2>";/
+            "<U0C9C><U0CC1>";/
+            "<U0C86>";/
+            "<U0CB8><U0CC6>";/
+            "<U0C85>";/
+            "<U0CA8>";/
+            "<U0CA1><U0CBF>"
+%
+% Full month names (%B)
+mon         "<U0C9C><U0CA8><U0CB5><U0CB0><U0CBF>";/
+
"<U0CAB><U0CC6><U0CAC><U0CCD><U0CB0><U0CC1><U0CB5><U0CB0><U0CBF>";/
+            "<U0CAE><U0CBE><U0CB0><U0CCD><U0C9A><U0CCD>";/
+
"<U0C8F><U0CAA><U0CCD><U0CB0><U0CBF><U0CB2><U0CCD><U200C><U200C>";/
+            "<U0CAE><U0CC7>";/
+            "<U0C9C><U0CC2><U0CA8><U0CCD>";/
+            "<U0C9C><U0CC1><U0CB2><U0CC8>";/
+            "<U0C86><U0C97><U0CB8><U0CCD><U0C9F><U0CCD>";/
+
"<U0CB8><U0CC6><U0CAA><U0CCD><U0C9F><U0CC6><U0C82><U0CAC><U0CB0><U0CCD><U200
C>";/
+            "<U0C85><U0C95><U0CCD><U0C9F><U0CCB><U0CAC><U0CB0><U0CCD>";/
+            "<U0CA8><U0CB5><U0CC6><U0C82><U0CAC><U0CB0><U0CCD>";/
+            "<U0CA1><U0CBF><U0CB8><U0CC6><U0C82><U0CAC><U0CB0><U0CCD>"
+%
+% Equivalent of AM PM
+am_pm       "<U0C95><U0CBE><U0C82><U0CA1><U0CC6>";/
+            "<U0CAC><U0CAF><U0CCD><U0CAF>"
+
+% *** There arent any Devanagari characters below, so for time being
+% *** maintain same for Kannada also,  Karunakar
+
+%
+% Appropriate date and time representation
+% %A %d %b %Y%I:%M:%S  %Z
+d_t_fmt     "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059><U0020><U0025><U0049><U003A><U0025><U004D><U003A>/
+<U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+%
+% Appropriate date representation
+% %A %d %b %Y
+d_fmt       "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059>"
+%
+% Appropriate time representation
+% %I:%M:%S  %Z
+t_fmt       "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0020><U0025><U005A>"
+%
+% Appropriate 12 h time representation (%r)
+t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0025><U0070><U0020><U0025><U005A>"
+%
+date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+<U0025><U005A><U0020><U0025><U0059>"
+END LC_TIME
+
+
+LC_MESSAGES
+yesexpr "<U005E><U005B><U0079><U0059><U005D><U002E><U002A>"
+noexpr  "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
+END LC_MESSAGES
+
+
+LC_PAPER
+copy "hi_IN"
+END LC_PAPER
+
+
+LC_NAME
+% This is the ISO_IEC TR14652 Locale definition for the
+% LC_NAME category.
+%
+name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074>/
+<U0025><U0067>"
+name_gen    ""
+name_mr     "<U0CB6><U0CCD><U0CB0><U0CC0>"
+name_mrs    "<U0CB6><U0CCD><U0CB0><U0CC0><U0CAE><U0CA4><U0CBF>"
+name_miss   "<U0C95><U0CC1><U0CAE><U0CBE><U0CB0><U0CBF>"
+name_ms     "<U0C95><U0CC1><U0CAE><U0CBE><U0CB0>"
+
+END LC_NAME
+
+
+LC_ADDRESS
+% This is the ISO_IEC TR14652 Locale definition for the
+% LC_ADDRESS
+postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
+<U0025><U0062><U0025><U0065><U0025><U0072>"
+
+country_ab2 "<U0049><U004E>"
+country_ab3 "<U0049><U004E><U0044>"
+country_car "<U0049><U004E><U0044>"
+country_num 356
+lang_name     "<U0CA4><U0CC1><U0CB3><U0CC1>"
+lang_ab       "<U0074><U0075>"
+lang_term     "<U0074><U0063><U0079>"
+lang_lib      "<U0074><U0063><U0079>"
+END LC_ADDRESS
+
+
+LC_TELEPHONE
+copy "hi_IN"
+END LC_TELEPHONE
+
+
+LC_MEASUREMENT
+copy "hi_IN"
+END LC_MEASUREMENT

Thank you,
Tatiana Udalova


-----Original Message-----
From: Siddhesh Poyarekar [mailto:siddhesh@redhat.com] 
Sent: Wednesday, November 05, 2014 12:47 PM
To: Tatiana Udalova
Cc: libc-alpha@sourceware.org; 'Viacheslav Garbuzov';
alexey.merzlyakov@samsung.com
Subject: Re: [PATCH] [BZ 17475] New Bhilodi and Tulu locales

On Tue, Oct 14, 2014 at 02:50:33PM +0400, Tatiana Udalova wrote:
> Hi folks,
> 
> Please take a look at the new locales for Bhili and Tulu languages.

Please provide a ChangeLog for your patch.  Also, you're missing changes to
the SUPPORTED file.  Finally, please post your patch inline and not as an
attachment so that it's easier to review.

Thanks,
Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]