From patchwork Mon Jul 16 19:20:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Rafal Luzynski X-Patchwork-Id: 28422 Received: (qmail 86815 invoked by alias); 16 Jul 2018 19:21:12 -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 86804 invoked by uid 89); 16 Jul 2018 19:21:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 required=5.0 tests=AC_HTML_NONSENSE_TAGS, AWL, BAYES_50, BODY_8BITS, GARBLED_BODY, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, WEIRD_QUOTING autolearn=ham version=3.3.2 spammy=vehicles, cap, en.wikipedia.org, UD:wikipedia.org X-HELO: ano163.rev.netart.pl X-Spam-Score: 2 Date: Mon, 16 Jul 2018 21:20:48 +0200 (CEST) From: Rafal Luzynski Reply-To: Rafal Luzynski To: libc-alpha@sourceware.org Message-ID: <1464907072.188232.1531768848214@poczta.nazwa.pl> Subject: [PATCH] New locale: Yakut (Sakha) for Russia (sah_RU) [BZ #22241] MIME-Version: 1.0 This is approved by Mike [1] but as we are in a slushy freeze period I'd like to have more approvals before pushing. OK for 2.28? Carlos? Anybody? Regards, Rafal [1] https://sourceware.org/bugzilla/show_bug.cgi?id=22241#c17 Reviewed-by: Carlos O'Donell From 6d533c1e72f76dd5b602948f57f9d32cec05c0fd Mon Sep 17 00:00:00 2001 From: Valery Timiriliyev Date: Fri, 6 Jul 2018 14:46:13 +0900 Subject: [PATCH] New locale: Yakut (Sakha) for Russia (sah_RU) [BZ #22241] * localedata/Makefile (test-input): Add sah_RU.UTF-8. (LOCALES): Likewise. * localedata/SUPPORTED (sah_RU/UTF-8): New entry. * localedata/locales/sah_RU: New file. * localedata/sah_RU.UTF-8.in: New file. --- NEWS | 4 +- localedata/Makefile | 2 + localedata/SUPPORTED | 1 + localedata/locales/sah_RU | 291 +++++++++++++++++++++++++++++++++++++++++++++ localedata/sah_RU.UTF-8.in | 84 +++++++++++++ 5 files changed, 380 insertions(+), 2 deletions(-) create mode 100644 localedata/locales/sah_RU create mode 100644 localedata/sah_RU.UTF-8.in diff --git a/NEWS b/NEWS index 5de2c28..325158a 100644 --- a/NEWS +++ b/NEWS @@ -40,8 +40,8 @@ Major new features: Upper Sorbian, and Walloon. The following languages now support abbreviated alternative month names: Catalan, Greek, and Kashubian. -* New locale added: Lower Sorbian (dsb_DE), including the support of the - nominative and genitive month names. +* Newly added locales: Lower Sorbian (dsb_DE) and Yakut (sah_RU) also + include the support of the nominative and genitive month names. * Building and running on GNU/Hurd systems now works without out-of-tree patches. diff --git a/localedata/Makefile b/localedata/Makefile index 5ac4f74..43d2d37 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -95,6 +95,7 @@ test-input := \ ps_AF.UTF-8 \ ro_RO.UTF-8 \ ru_RU.UTF-8 \ + sah_RU.UTF-8 \ sc_IT.UTF-8 \ se_NO.UTF-8 \ si_LK.UTF-8 \ @@ -250,6 +251,7 @@ LOCALES := \ ps_AF.UTF-8 \ ro_RO.UTF-8 \ ru_RU.UTF-8 \ + sah_RU.UTF-8 \ sc_IT.UTF-8 \ se_NO.UTF-8 \ si_LK.UTF-8 \ diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 74aa15d..05de4e3 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -384,6 +384,7 @@ ru_UA.UTF-8/UTF-8 \ ru_UA/KOI8-U \ rw_RW/UTF-8 \ sa_IN/UTF-8 \ +sah_RU/UTF-8 \ sat_IN/UTF-8 \ sc_IT/UTF-8 \ sd_IN/UTF-8 \ diff --git a/localedata/locales/sah_RU b/localedata/locales/sah_RU new file mode 100644 index 0000000..65af029 --- /dev/null +++ b/localedata/locales/sah_RU @@ -0,0 +1,291 @@ +escape_char / +comment_char % + +% Yakut (Sakha) locale for Russian Federation +% Source: Valery Timiriliyev +% Email: timiriliyev@gmail.com +% Tel: +% Fax: +% Language: sah +% Territory: RU +% Revision: 1.1.0 +% Date: 2018-07-06 +% Users: general +% + +LC_IDENTIFICATION +title "Yakut (Sakha) locale for Russian Federation" +source "Valery Timiriliyev" +address "" +contact "Valery Timiriliyev" +email "timiriliyev@gmail.com" +tel "" +fax "" +language "Yakut" +territory "Russian Federation" +revision "1.1.0" +date "2018-07-06" +% +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_MEASUREMENT +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +END LC_IDENTIFICATION + +LC_CTYPE +copy "ru_RU" +END LC_CTYPE + +LC_COLLATE +copy "iso14651_t1" + +% As of July 2018, the Yakut collating rules are not provided by CLDR. +% This content is based on the alphabet from Wikipedia: +% https://en.wikipedia.org/wiki/Yakut_language#Writing_system +% +% А Б В Г Ҕ Д Дь Е Ё Ж З И Й К Л М Н Ҥ Нь О Ө П Р С Һ Т У Ү Ф Х Ц Ч Ш Щ +% Ъ Ы Ь Э Ю Я + +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" +collating-element from "" + +collating-symbol +collating-symbol +collating-symbol +collating-symbol +collating-symbol + +collating-symbol +collating-symbol + +% Ҕ after Г and after Ӷ +reorder-after % CYRILLIC SMALL LETTER GHE WITH DESCENDER + + +% Дь after Д and after Ԃ +reorder-after % CYRILLIC SMALL LETTER KOMI DJE + + +% Ҥ after Н and after Ԋ +reorder-after % CYRILLIC SMALL LETTER KOMI NJE + +% Followed by Нь + + +% Ө after О +% This is already default in iso14651_t1_common, no reorder needed. + +% Һ after С and after Ҫ +reorder-after % CYRILLIC SMALL LETTER ES WITH DESCENDER + + +% Ү after У and after Ӯ but before Ұ, Ꙋ, and Ѹ +% This is already default in iso14651_t1_common, better leave unchanged. + + ;;;IGNORE % ҕ + ;;;IGNORE % Ҕ + ;;;IGNORE % ҥ + ;;;IGNORE % Ҥ + ;;;IGNORE % һ + ;;;IGNORE % Һ + + ;;"";IGNORE % дь + ;;"";IGNORE % дЬ + ;;"";IGNORE % Дь + ;;"";IGNORE % ДЬ + ;;"";IGNORE % нь + ;;"";IGNORE % нЬ + ;;"";IGNORE % Нь + ;;"";IGNORE % НЬ + +reorder-end + +END LC_COLLATE + +LC_MONETARY +copy "ru_RU" +END LC_MONETARY + +LC_NUMERIC +copy "ru_RU" +END LC_NUMERIC + +LC_TIME +% abday - The abbreviations for the week days: +% - бс, бн, оп, ср, чп, бт, сб +abday "";"";/ + "";"";/ + "";"";/ + "" + +% day - The full names of the week days: +% - баскыһыанньа, бэнидиэнньик, оптуорунньук, +% сэрэдэ, чэппиэр, бээтинсэ, субуота +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" + +% abmon - The abbreviations for the months +% - тохс, олун, кул, муус, ыам, бэс, от, атыр, бал, алт, сэт, ахс +abmon "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" + +% mon - The full names of the months (genitive case) - +% - тохсунньу, олунньу, кулун тутар, муус устар, ыам ыйын, +% бэс ыйын, от ыйын, атырдьах ыйын, балаҕан ыйын, алтынньы, +% сэтинньи, ахсынньы +mon "";/ + "";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + "";/ + "";/ + "" + +% alt_mon - The full names of the months (nominative case) - +% - тохсунньу, олунньу, кулун тутар, муус устар, ыам ыйа, +% бэс ыйа, от ыйа, атырдьах ыйа, балаҕан ыйа, алтынньы, +% сэтинньи, ахсынньы +alt_mon "";/ + "";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + " ";/ + "";/ + "";/ + "" + +% Abbreviated date and time representation to be referenced by the "%c" field +% descriptor - +% +% "%a" (short weekday name), +% "%Y" (year with century as a decimal number), +% "%b" (short month name), +% "%d" (day of month as a decimal number), +% "%T" (24-hour clock time in format HH:MM:SS), +% "%Z" (Time zone name) +d_t_fmt "%a %Y %b %d %T (%Z)" + +% Date representation to be referenced by the "%x" field descriptor - +% "%d/%m/%Y", day/month/year as decimal numbers (01/01/2000). +d_fmt "%Y.%m.%d" + +% Time representation to be referenced by the "%X" field descriptor - +% "%T" (24-hour clock time in format HH:MM:SS) +t_fmt "%T" + +% Define representation of ante meridiem and post meridiem strings - +% The "" mean default to "AM" and "PM". +am_pm "";"" + +% Define time representation in 12-hour format with "am_pm", to be referenced by the "%r" +% The "" means that this format is not supported. +t_fmt_ampm "" + +% Date representation not described in ISO/IEC 14652. Comes out as - +% "%a %b %e %H:%M:%S %Z %Y" which is default "date" command output +% +% %a - abbreviated weekday name, +% %Y - year with century as a decimal number,e.g. 2001. +% %e - day of month as a decimal number with leading space (1 to 31), +% %B - full month name, +% %T - (24-hour clock time in format HH:MM:SS), +% %Z - time-zone name, +% "%a %Y с. %B %e к. %T (%Z)" +date_fmt "%a %Y . %B %e . %T (%Z)" + +week 7;19971130;1 +first_weekday 2 +first_workday 2 +END LC_TIME + +LC_MESSAGES +% The affirmative response - +% '^[+1yYдДэЭ]' +yesexpr "^[+1yY]" + +% The negative response - +% '^[-0nNнНсС]' +noexpr "^[-0nN]" + +% 'ээх' +yesstr "" + +% 'суох' +nostr "" +END LC_MESSAGES + +LC_PAPER +copy "ru_RU" +END LC_PAPER + +LC_TELEPHONE +copy "ru_RU" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "ru_RU" +END LC_MEASUREMENT + +LC_NAME +copy "ru_RU" +END LC_NAME + +LC_ADDRESS +postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N" + +% Россия +country_name "" + +% Саха тыла +lang_name " " + +% UN Geneve 1949:68 Distinguishing signs of vehicles in international traffic +% RUS +country_car "RUS" + +% ISO 639 language abbreviations: +% 639-1 2 letter, 639-2 3 letter terminology +% (empty), sah, sah +lang_ab "" +lang_term "sah" +lang_lib "sah" + +% ISO 3166 country number and 2 and 3 letter abreviations +% RU, RUS +country_ab2 "RU" +country_ab3 "RUS" +country_num 643 + +END LC_ADDRESS diff --git a/localedata/sah_RU.UTF-8.in b/localedata/sah_RU.UTF-8.in new file mode 100644 index 0000000..324aaf9 --- /dev/null +++ b/localedata/sah_RU.UTF-8.in @@ -0,0 +1,84 @@ +а +А +б +Б +в +В +г +Г +ҕ +Ҕ +д +Д +дэ +дя +дь +Дь +е +Е +ё +Ё +ж +Ж +з +З +и +И +й +Й +к +К +л +Л +м +М +н +Н +нэ +ня +ҥ +Ҥ +нь +Нь +о +О +ө +Ө +п +П +р +Р +с +С +һ +Һ +т +Т +у +У +ү +Ү +ф +Ф +х +Х +ц +Ц +ч +Ч +ш +Ш +щ +Щ +ъ +Ъ +ы +Ы +ь +Ь +э +Э +ю +Ю +я +Я -- 2.7.5