From 6d533c1e72f76dd5b602948f57f9d32cec05c0fd Mon Sep 17 00:00:00 2001
From: Valery Timiriliyev <timiriliyev@gmail.com>
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 <d-soft-sign> from "<U0434><U044C>"
+collating-element <d-Soft-sign> from "<U0434><U042C>"
+collating-element <D-soft-sign> from "<U0414><U044C>"
+collating-element <D-Soft-sign> from "<U0414><U042C>"
+collating-element <n-soft-sign> from "<U043D><U044C>"
+collating-element <n-Soft-sign> from "<U043D><U042C>"
+collating-element <N-soft-sign> from "<U041D><U044C>"
+collating-element <N-Soft-sign> from "<U041D><U042C>"
+
+collating-symbol <yak-ghe>
+collating-symbol <yak-eng>
+collating-symbol <yak-oe>
+collating-symbol <yak-he>
+collating-symbol <yak-ue>
+
+collating-symbol <d-soft-sign-digraph>
+collating-symbol <n-soft-sign-digraph>
+
+% Ò” after Ð“ and after Ó¶
+reorder-after <S04F7> % CYRILLIC SMALL LETTER GHE WITH DESCENDER
+<yak-ghe>
+
+% Ð”ÑŒ after Ð” and after Ô‚
+reorder-after <S0503> % CYRILLIC SMALL LETTER KOMI DJE
+<d-soft-sign-digraph>
+
+% Ò¤ after Ð and after ÔŠ
+reorder-after <S050B> % CYRILLIC SMALL LETTER KOMI NJE
+<yak-eng>
+% Followed by ÐÑŒ
+<n-soft-sign-digraph>
+
+% Ó¨ after Ðž
+% This is already default in iso14651_t1_common, no reorder needed.
+
+% Òº after Ð¡ and after Òª
+reorder-after <S04AB> % CYRILLIC SMALL LETTER ES WITH DESCENDER
+<yak-he>
+
+% Ò® after Ð£ and after Ó® but before Ò°, ê™Š, and Ñ¸
+% This is already default in iso14651_t1_common, better leave unchanged.
+
+<U0495> <yak-ghe>;<BASE>;<MIN>;IGNORE % Ò•
+<U0494> <yak-ghe>;<BASE>;<CAP>;IGNORE % Ò”
+<U04A5> <yak-eng>;<BASE>;<MIN>;IGNORE % Ò¥
+<U04A4> <yak-eng>;<BASE>;<CAP>;IGNORE % Ò¤
+<U04BB> <yak-he>;<BASE>;<MIN>;IGNORE % Ò»
+<U04BA> <yak-he>;<BASE>;<CAP>;IGNORE % Òº
+
+<d-soft-sign> <d-soft-sign-digraph>;<BASE>;"<MIN><MIN>";IGNORE % Ð´ÑŒ
+<d-Soft-sign> <d-soft-sign-digraph>;<BASE>;"<MIN><CAP>";IGNORE % Ð´Ð¬
+<D-soft-sign> <d-soft-sign-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Ð”ÑŒ
+<D-Soft-sign> <d-soft-sign-digraph>;<BASE>;"<CAP><CAP>";IGNORE % Ð”Ð¬
+<n-soft-sign> <n-soft-sign-digraph>;<BASE>;"<MIN><MIN>";IGNORE % Ð½ÑŒ
+<n-Soft-sign> <n-soft-sign-digraph>;<BASE>;"<MIN><CAP>";IGNORE % Ð½Ð¬
+<N-soft-sign> <n-soft-sign-digraph>;<BASE>;"<CAP><MIN>";IGNORE % ÐÑŒ
+<N-Soft-sign> <n-soft-sign-digraph>;<BASE>;"<CAP><CAP>";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       "<U0431><U0441>";"<U0431><U043D>";/
+            "<U043E><U043F>";"<U0441><U0440>";/
+            "<U0447><U043F>";"<U0431><U0442>";/
+            "<U0441><U0431>"
+
+% day - The full names of the week days:
+% - Ð±Ð°ÑÐºÑ‹Ò»Ñ‹Ð°Ð½Ð½ÑŒÐ°, Ð±ÑÐ½Ð¸Ð´Ð¸ÑÐ½Ð½ÑŒÐ¸Ðº, Ð¾Ð¿Ñ‚ÑƒÐ¾Ñ€ÑƒÐ½Ð½ÑŒÑƒÐº,
+%   ÑÑÑ€ÑÐ´Ñ, Ñ‡ÑÐ¿Ð¿Ð¸ÑÑ€, Ð±ÑÑÑ‚Ð¸Ð½ÑÑ, ÑÑƒÐ±ÑƒÐ¾Ñ‚Ð°
+day         "<U0431><U0430><U0441><U043A><U044B><U04BB><U044B><U0430><U043D><U043D><U044C><U0430>";/
+            "<U0431><U044D><U043D><U0438><U0434><U0438><U044D><U043D><U043D><U044C><U0438><U043A>";/
+            "<U043E><U043F><U0442><U0443><U043E><U0440><U0443><U043D><U043D><U044C><U0443><U043A>";/
+            "<U0441><U044D><U0440><U044D><U0434><U044D>";/
+            "<U0447><U044D><U043F><U043F><U0438><U044D><U0440>";/
+            "<U0431><U044D><U044D><U0442><U0438><U043D><U0441><U044D>";/
+            "<U0441><U0443><U0431><U0443><U043E><U0442><U0430>"
+
+% abmon - The abbreviations for the months
+% - Ñ‚Ð¾Ñ…Ñ, Ð¾Ð»ÑƒÐ½, ÐºÑƒÐ», Ð¼ÑƒÑƒÑ, Ñ‹Ð°Ð¼, Ð±ÑÑ, Ð¾Ñ‚, Ð°Ñ‚Ñ‹Ñ€, Ð±Ð°Ð», Ð°Ð»Ñ‚, ÑÑÑ‚, Ð°Ñ…Ñ
+abmon       "<U0442><U043E><U0445><U0441>";"<U043E><U043B><U0443><U043D>";/
+            "<U043A><U0443><U043B>";"<U043C><U0443><U0443><U0441>";/
+            "<U044B><U0430><U043C>";"<U0431><U044D><U0441>";/
+            "<U043E><U0442>";"<U0430><U0442><U044B><U0440>";/
+            "<U0431><U0430><U043B>";"<U0430><U043B><U0442>";/
+            "<U0441><U044D><U0442>";"<U0430><U0445><U0441>"
+
+% mon - The full names of the months (genitive case) -
+% - Ñ‚Ð¾Ñ…ÑÑƒÐ½Ð½ÑŒÑƒ, Ð¾Ð»ÑƒÐ½Ð½ÑŒÑƒ, ÐºÑƒÐ»ÑƒÐ½ Ñ‚ÑƒÑ‚Ð°Ñ€, Ð¼ÑƒÑƒÑ ÑƒÑÑ‚Ð°Ñ€, Ñ‹Ð°Ð¼ Ñ‹Ð¹Ñ‹Ð½,
+%   Ð±ÑÑ Ñ‹Ð¹Ñ‹Ð½, Ð¾Ñ‚ Ñ‹Ð¹Ñ‹Ð½, Ð°Ñ‚Ñ‹Ñ€Ð´ÑŒÐ°Ñ… Ñ‹Ð¹Ñ‹Ð½, Ð±Ð°Ð»Ð°Ò•Ð°Ð½ Ñ‹Ð¹Ñ‹Ð½, Ð°Ð»Ñ‚Ñ‹Ð½Ð½ÑŒÑ‹,
+%   ÑÑÑ‚Ð¸Ð½Ð½ÑŒÐ¸, Ð°Ñ…ÑÑ‹Ð½Ð½ÑŒÑ‹
+mon         "<U0442><U043E><U0445><U0441><U0443><U043D><U043D><U044C><U0443>";/
+            "<U043E><U043B><U0443><U043D><U043D><U044C><U0443>";/
+            "<U043A><U0443><U043B><U0443><U043D> <U0442><U0443><U0442><U0430><U0440>";/
+            "<U043C><U0443><U0443><U0441> <U0443><U0441><U0442><U0430><U0440>";/
+            "<U044B><U0430><U043C> <U044B><U0439><U044B><U043D>";/
+            "<U0431><U044D><U0441> <U044B><U0439><U044B><U043D>";/
+            "<U043E><U0442> <U044B><U0439><U044B><U043D>";/
+            "<U0430><U0442><U044B><U0440><U0434><U044C><U0430><U0445> <U044B><U0439><U044B><U043D>";/
+            "<U0431><U0430><U043B><U0430><U0495><U0430><U043D> <U044B><U0439><U044B><U043D>";/
+            "<U0430><U043B><U0442><U044B><U043D><U043D><U044C><U044B>";/
+            "<U0441><U044D><U0442><U0438><U043D><U043D><U044C><U0438>";/
+            "<U0430><U0445><U0441><U044B><U043D><U043D><U044C><U044B>"
+
+% alt_mon - The full names of the months (nominative case) -
+% - Ñ‚Ð¾Ñ…ÑÑƒÐ½Ð½ÑŒÑƒ, Ð¾Ð»ÑƒÐ½Ð½ÑŒÑƒ, ÐºÑƒÐ»ÑƒÐ½ Ñ‚ÑƒÑ‚Ð°Ñ€, Ð¼ÑƒÑƒÑ ÑƒÑÑ‚Ð°Ñ€, Ñ‹Ð°Ð¼ Ñ‹Ð¹Ð°,
+%   Ð±ÑÑ Ñ‹Ð¹Ð°, Ð¾Ñ‚ Ñ‹Ð¹Ð°, Ð°Ñ‚Ñ‹Ñ€Ð´ÑŒÐ°Ñ… Ñ‹Ð¹Ð°, Ð±Ð°Ð»Ð°Ò•Ð°Ð½ Ñ‹Ð¹Ð°, Ð°Ð»Ñ‚Ñ‹Ð½Ð½ÑŒÑ‹,
+%   ÑÑÑ‚Ð¸Ð½Ð½ÑŒÐ¸, Ð°Ñ…ÑÑ‹Ð½Ð½ÑŒÑ‹
+alt_mon     "<U0442><U043E><U0445><U0441><U0443><U043D><U043D><U044C><U0443>";/
+            "<U043E><U043B><U0443><U043D><U043D><U044C><U0443>";/
+            "<U043A><U0443><U043B><U0443><U043D> <U0442><U0443><U0442><U0430><U0440>";/
+            "<U043C><U0443><U0443><U0441> <U0443><U0441><U0442><U0430><U0440>";/
+            "<U044B><U0430><U043C> <U044B><U0439><U0430>";/
+            "<U0431><U044D><U0441> <U044B><U0439><U0430>";/
+            "<U043E><U0442> <U044B><U0439><U0430>";/
+            "<U0430><U0442><U044B><U0440><U0434><U044C><U0430><U0445> <U044B><U0439><U0430>";/
+            "<U0431><U0430><U043B><U0430><U0495><U0430><U043D> <U044B><U0439><U0430>";/
+            "<U0430><U043B><U0442><U044B><U043D><U043D><U044C><U044B>";/
+            "<U0441><U044D><U0442><U0438><U043D><U043D><U044C><U0438>";/
+            "<U0430><U0445><U0441><U044B><U043D><U043D><U044C><U044B>"
+
+% 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 <U0441>. %B %e <U043A>. %T (%Z)"
+
+week    7;19971130;1
+first_weekday 2
+first_workday 2
+END LC_TIME
+
+LC_MESSAGES
+% The affirmative response -
+% '^[+1yYÐ´Ð”ÑÐ­]'
+yesexpr "^[+1yY<U0434><U0414><U044D><U042D>]"
+
+% The negative response -
+% '^[-0nNÐ½ÐÑÐ¡]'
+noexpr "^[-0nN<U043D><U041D><U0441><U0421>]"
+
+% 'ÑÑÑ…'
+yesstr "<U044D><U044D><U0445>"
+
+% 'ÑÑƒÐ¾Ñ…'
+nostr "<U0441><U0443><U043E><U0445>"
+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  "<U0420><U043E><U0441><U0441><U0438><U044F>"
+
+% Ð¡Ð°Ñ…Ð° Ñ‚Ñ‹Ð»Ð°
+lang_name     "<U0421><U0430><U0445><U0430> <U0442><U044B><U043B><U0430>"
+
+% 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
