public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] New Bhili and Tulu locales
@ 2014-10-06 12:08 Tatiana Udalova
  2014-10-10  5:12 ` Pravin Satpute
  0 siblings, 1 reply; 2+ messages in thread
From: Tatiana Udalova @ 2014-10-06 12:08 UTC (permalink / raw)
  To: libc-locales
  Cc: 'Slava Garbuzov', 'Alexey Merzlyakov',
	'Maxim Ostapenko'

[-- Attachment #1: Type: text/plain, Size: 231 bytes --]

Hi folks,

My colleagues and I prepared a new locales for Bhili and Tulu languages.
We also added Bhili and Tulu to the entries of localedef.

Please review the attached patches.

Is it OK for commit?

Thank you,
Tatiana Udalova



[-- Attachment #2: New-Bhili-Tulu-entries.patch --]
[-- Type: application/octet-stream, Size: 996 bytes --]

diff --git a/libc/locale/iso-639.def b/libc/locale/iso-639.def
index 50b5a52..d35af9d 100644
--- a/libc/locale/iso-639.def
+++ b/libc/locale/iso-639.def
@@ -64,6 +64,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)
@@ -456,6 +457,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)

[-- Attachment #3: Bhili-and-Tulu-locales.patch --]
[-- Type: application/octet-stream, Size: 12523 bytes --]

diff --git a/libc/localedata/locales/bh_IN b/libc/localedata/locales/bh_IN
new file mode 100644
index 0000000..2baa3c2
--- /dev/null
+++ b/libc/localedata/locales/bh_IN
@@ -0,0 +1,178 @@
+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
+
+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 "ks_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>"
+%
+first_weekday 1
+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><U0025><U0065><U0025><U0072>"
+country_ab2 "<U0049><U004E>"
+country_ab3 "<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/libc/localedata/locales/tu_IN b/libc/localedata/locales/tu_IN
new file mode 100644
index 0000000..dd33cc5
--- /dev/null
+++ b/libc/localedata/locales/tu_IN
@@ -0,0 +1,214 @@
+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
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "i18n"
+
+% Kannada uses the alternate digits U+0CE6..U+0CEF
+outdigit <U0CE6>..<U0CEF>
+
+% This is used in the scanf family of functions to read Kannada numbers
+% using "%Id" and such.
+map to_inpunct; /
+  (<U0030>,<U0CE6>); /
+  (<U0031>,<U0CE7>); /
+  (<U0032>,<U0CE8>); /
+  (<U0033>,<U0CE9>); /
+  (<U0034>,<U0CEA>); /
+  (<U0035>,<U0CEB>); /
+  (<U0036>,<U0CEC>); /
+  (<U0037>,<U0CED>); /
+  (<U0038>,<U0CEE>); /
+  (<U0039>,<U0CEF>);
+
+translit_start
+include  "translit_combining";""
+translit_end
+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><U200C>";/
+            "<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_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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] New Bhili and Tulu locales
  2014-10-06 12:08 [PATCH] New Bhili and Tulu locales Tatiana Udalova
@ 2014-10-10  5:12 ` Pravin Satpute
  0 siblings, 0 replies; 2+ messages in thread
From: Pravin Satpute @ 2014-10-10  5:12 UTC (permalink / raw)
  To: Tatiana Udalova
  Cc: libc-locales, Slava Garbuzov, Alexey Merzlyakov, Maxim Ostapenko



>----- Original Message -----
>From: "Tatiana Udalova" <t.udalova@samsung.com>
>To: libc-locales@sourceware.org
>Cc: "Slava Garbuzov" <v.garbuzov@samsung.com>, "Alexey Merzlyakov" <alexey.merzlyakov@samsung.com>, "Maxim Ostapenko" <m.ostapenko@partner.samsung.com>
>Sent: Monday, October 6, 2014 5:25:36 PM
>Subject: [PATCH] New Bhili and Tulu locales
>
>Hi folks,
>
>My colleagues and I prepared a new locales for Bhili and Tulu languages.
>We also added Bhili and Tulu to the entries of localedef.
>
>Please review the attached patches.
>
>Is it OK for commit?

Please report bug for this and submit patches there. I will review this by Monday and provide you comment.

Regards,
Pravin Satpute

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-10  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-06 12:08 [PATCH] New Bhili and Tulu locales Tatiana Udalova
2014-10-10  5:12 ` Pravin Satpute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).