From fb89b46d1d1cdbaaec1af918a3a3e1bd72a164e0 Mon Sep 17 00:00:00 2001 From: Tatiana Udalova Date: Wed, 12 Nov 2014 17:06:39 +0530 Subject: [PATCH] New Bhilodi and Tulu locales (BZ #17475) --- ChangeLog | 5 ++ NEWS | 4 +- locale/iso-639.def | 2 + localedata/ChangeLog | 7 ++ localedata/SUPPORTED | 2 + localedata/locales/bh_IN | 179 +++++++++++++++++++++++++++++++++++++++++++ localedata/locales/tu_IN | 195 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 393 insertions(+), 1 deletion(-) create mode 100644 localedata/locales/bh_IN create mode 100644 localedata/locales/tu_IN diff --git a/ChangeLog b/ChangeLog index 1d1edc0..6a7f435 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-11-12 Tatiana Udalova + + [BZ #17475] + * locale/iso-639.def: Define Bhili and Tulu language codes. + 2014-11-11 Alan Hayward * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file. diff --git a/NEWS b/NEWS index 071347f..df35b80 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,9 @@ Version 2.21 * The following bugs are resolved with this release: 6652, 12926, 14132, 14138, 14171, 15215, 15884, 17266, 17344, 17363, - 17370, 17371, 17411, 17460, 17485, 17501, 17508, 17522, 17555. + 17370, 17371, 17411, 17460, 17475, 17485, 17501, 17508, 17522, 17555. + +* New locales: tu_IN, bh_IN. Version 2.20 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/ChangeLog b/localedata/ChangeLog index 8bb3ed6..74e8a77 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,10 @@ +2014-11-12 Tatiana Udalova + + [BZ #17475] + * SUPPORTED: Add Bhili and Tulu locales. + * locales/tu_IN: New Tulu locale. + * locales/bh_IN: New Bhili locale. + 2014-07-02 Florian Weimer * tst-setlocale3.c: New file. 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 + +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 "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full weekday names (%A) +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated month names (%b) +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full month names (%B) +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Equivalent of AM PM +am_pm "";/ + "" +% +% Appropriate date and time representation +% %A %d %b %Y%I:%M:%S %Z +d_t_fmt "/ +/ +" +% +% Appropriate date representation +% %A %d %b %Y +d_fmt "/ +" +% +% Appropriate time representation +% %I:%M:%S %Z +t_fmt "/ +" +% +% Appropriate 12 h time representation (%r) +t_fmt_ampm "/ +" +% +date_fmt "/ +/ +" +% +END LC_TIME + + +LC_MESSAGES +yesexpr "" +noexpr "" +END LC_MESSAGES + + +LC_PAPER +copy "hi_IN" +END LC_PAPER + + +LC_NAME +name_fmt "/ +" +name_gen "" +name_mr "" +name_mrs "" +name_miss "" +name_ms "" + +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 "" +country_ab2 "" +country_ab3 "" +country_car "" +country_num 356 +lang_name "" +lang_ab "" +lang_term "" +lang_lib "" +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 "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full weekday names (%A) +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated month names (%b) +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full month names (%B) +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Equivalent of AM PM +am_pm "";/ + "" + +% *** 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 "/ +/ +" +% +% Appropriate date representation +% %A %d %b %Y +d_fmt "/ +" +% +% Appropriate time representation +% %I:%M:%S %Z +t_fmt "/ +" +% +% Appropriate 12 h time representation (%r) +t_fmt_ampm "/ +" +% +date_fmt "/ +/ +" +END LC_TIME + + +LC_MESSAGES +yesexpr "" +noexpr "" +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 "/ +" +name_gen "" +name_mr "" +name_mrs "" +name_miss "" +name_ms "" + +END LC_NAME + + +LC_ADDRESS +% This is the ISO_IEC TR14652 Locale definition for the +% LC_ADDRESS +postal_fmt "/ +" + +country_ab2 "" +country_ab3 "" +country_car "" +country_num 356 +lang_name "" +lang_ab "" +lang_term "" +lang_lib "" +END LC_ADDRESS + + +LC_TELEPHONE +copy "hi_IN" +END LC_TELEPHONE + + +LC_MEASUREMENT +copy "hi_IN" +END LC_MEASUREMENT -- 2.7.4