From patchwork Thu Mar 5 12:01:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pravin Satpute X-Patchwork-Id: 5473 X-Patchwork-Delegate: vapier@gentoo.org Received: (qmail 118405 invoked by alias); 5 Mar 2015 12:01:16 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 118370 invoked by uid 89); 5 Mar 2015 12:01:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AC_HTML_NONSENSE_TAGS, AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx3-phx2.redhat.com Date: Thu, 5 Mar 2015 07:01:11 -0500 (EST) From: Pravin Satpute To: libc-alpha@sourceware.org Message-ID: <1393603894.33110216.1425556871138.JavaMail.zimbra@redhat.com> In-Reply-To: <1661804897.33109620.1425556753355.JavaMail.zimbra@redhat.com> Subject: [PATCH][BUG 17475] Correcting language code for Bhili and Tulu locales MIME-Version: 1.0 Hi, Bhili [1] and Tulu [2] language does not have iso-639-1 codes. Patch moves locale file with correct code and also fix iso-639.def. Thanks, Pravin Satpute 1. http://www-01.sil.org/iso639-3/documentation.asp?id=bhb 2. http://www-01.sil.org/iso639-3/documentation.asp?id=tcy From 16082e746ef95443bc6e1a78234d0f5ae1a3df9c Mon Sep 17 00:00:00 2001 From: Pravin Satpute Date: Thu, 5 Mar 2015 16:59:13 +0530 Subject: [PATCH] Resolves #17475: Corrected Bhili and Tulu locales name as per iso639-3 code --- locale/iso-639.def | 4 +- localedata/locales/bh_IN | 179 ------------------------------------------ localedata/locales/bhb_IN | 179 ++++++++++++++++++++++++++++++++++++++++++ localedata/locales/tcy_IN | 195 ++++++++++++++++++++++++++++++++++++++++++++++ localedata/locales/tu_IN | 195 ---------------------------------------------- 5 files changed, 376 insertions(+), 376 deletions(-) delete mode 100644 localedata/locales/bh_IN create mode 100644 localedata/locales/bhb_IN create mode 100644 localedata/locales/tcy_IN delete mode 100644 localedata/locales/tu_IN diff --git a/locale/iso-639.def b/locale/iso-639.def index 2529425..8a05098 100644 --- a/locale/iso-639.def +++ b/locale/iso-639.def @@ -65,7 +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_CODE ("Bhili", bhb, bhb) DEFINE_LANGUAGE_CODE3 ("Bhojpuri", bho, bho) DEFINE_LANGUAGE_CODE ("Bihari", bh, bih, bih) DEFINE_LANGUAGE_CODE3 ("Bikol", bik, bik) @@ -475,7 +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_CODE ("Tulu", 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/locales/bh_IN b/localedata/locales/bh_IN deleted file mode 100644 index a345637..0000000 --- a/localedata/locales/bh_IN +++ /dev/null @@ -1,179 +0,0 @@ -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/bhb_IN b/localedata/locales/bhb_IN new file mode 100644 index 0000000..8521257 --- /dev/null +++ b/localedata/locales/bhb_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 "bhb_IN:2014";LC_IDENTIFICATION +category "bhb_IN:2014";LC_CTYPE +category "bhb_IN:2014";LC_COLLATE +category "bhb_IN:2014";LC_TIME +category "bhb_IN:2014";LC_NUMERIC +category "bhb_IN:2014";LC_MONETARY +category "bhb_IN:2014";LC_MESSAGES +category "bhb_IN:2014";LC_PAPER +category "bhb_IN:2014";LC_NAME +category "bhb_IN:2014";LC_ADDRESS +category "bhb_IN:2014";LC_TELEPHONE +category "bhb_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/tcy_IN b/localedata/locales/tcy_IN new file mode 100644 index 0000000..3fc1e1a --- /dev/null +++ b/localedata/locales/tcy_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 "tcy_IN:2014";LC_IDENTIFICATION +category "tcy_IN:2014";LC_CTYPE +category "tcy_IN:2014";LC_COLLATE +category "tcy_IN:2014";LC_TIME +category "tcy_IN:2014";LC_NUMERIC +category "tcy_IN:2014";LC_MONETARY +category "tcy_IN:2014";LC_MESSAGES +category "tcy_IN:2014";LC_PAPER +category "tcy_IN:2014";LC_NAME +category "tcy_IN:2014";LC_ADDRESS +category "tcy_IN:2014";LC_TELEPHONE +category "tcy_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 diff --git a/localedata/locales/tu_IN b/localedata/locales/tu_IN deleted file mode 100644 index 0201bbd..0000000 --- a/localedata/locales/tu_IN +++ /dev/null @@ -1,195 +0,0 @@ -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.1.0