comment_char %
escape_char  /
%
% Tatar Language Locale for Russia
% Source:
% Contact: Pablo Saratxaga, Rinat Norkin
% Email: <pablo@mandrakesoft.com>, <rinat@taif.ru>
% Language: tt
% Territory: RU
% Revision: 0.4
% Date: 2001-01-28
% Application: general
% Users: general
% Charset: TATAR-CYR
% Distribution and use is free, also
% for commercial purposes.

%
% TODO: check LC_COLLATE
%
% needed extra chars: <U04D9>, <U04E9>, <U0497>, <U04BB>, <U04A3>
%
% Note: Tatarstan adopted latin alphabet in 2000, it should gradually
% replace cyrillic alphabet

LC_IDENTIFICATION
title "Tatar language locale for Russia"
source "Rinat Norkin"
address ""
contact "Pablo Saratxaga, Rinat Norkin"
email "pablo@mandrakesoft.com, rinat@taif.ru"
tel ""
fax ""
language "Tatar"
territory "Russia"
revision "0.4"
date "2001-01-28"

category tt_RU:2000;LC_IDENTIFICATION
category tt_RU:2000;LC_CTYPE
category tt_RU:2000;LC_COLLATE
category tt_RU:2000;LC_TIME
category tt_RU:2000;LC_NUMERIC
category tt_RU:2000;LC_PAPER
category tt_RU:2000;LC_TELEPHONE
category tt_RU:2000;LC_MEASUREMENT
category tt_RU:2000;LC_ADDRESS
category tt_RU:2000;LC_MONETARY
category tt_RU:2000;LC_MESSAGES

END LC_IDENTIFICATION

LC_CTYPE
copy "i18n"

translit_start
include  "translit_combining";""
translit_end
END LC_CTYPE

LC_COLLATE

% The new (2000) latin tatar alphabet is:
% a, sw, b, c, c,, d, e, f, g, g(, h, i (dotless i),
% i. (i with dot), j, k, q, l, m, n, ng, o, o--, p, r, s, s,,
% t, u, u:, v, w, x, y, z
% <U0430>,<U04D9>,<U0431>,<U04B9>,<U0447>,<U0434>,<U0435>,<U0444>,<U049D>,<U0493>,<U04BB>,
% <U044B>,             <U0438>,             <U0436>,<U043A>,<U0433>,<U043B>,<U043C>,<U043D>,<U04A3>,
% <U043E>,<U04E9>,<U043F>,<U0440>,<U0441>,<U0448>,<U0442>,<U0443>,<U04AF>,<U0432>,???, <U0445>,<U0458>,<U0437>
%
% However, a commonly used alphabet in internet uses <U00E4>, <U00F6> and <U00F1>
% for respectively <U0259>, <U0275> and <U014B>

copy "iso14651_t1"

collating-symbol <sw>
collating-symbol <c,>
collating-symbol <g(>
collating-symbol <i.>
collating-symbol <ng>
collating-symbol <o-->
collating-symbol <s,>
collating-symbol <u:>

collating-symbol <g-=>
collating-symbol <sw=>
collating-symbol <k//=>
collating-symbol <o-=>
collating-symbol <u'=>
collating-symbol <h'=>
collating-symbol <c%//=>
collating-symbol <n,=>

reorder-after <a>
<sw>
reorder-after <c>
<c,>
reorder-after <g>
<g(>
reorder-after <h>
<i>
<i.>
<j>
<k>
<q>
reorder-after <n>
<ng>
reorder-after <o>
<o-->
reorder-after <s>
<s,>
reorder-after <u>
<u:>

% FIXME: check order of cyrillic letters (I copied from cyr Azeri)
reorder-after <CYR-GHE>
<g-=>
reorder-after <CYR-IE>
<sw=>
reorder-after <CYR-KA>
<k//=>
reorder-after <CYR-EN>
<n,=>
reorder-after <CYR-O>
<o-=>
reorder-after <CYR-OUBRE>
<u'=>
reorder-after <CYR-HA>
<h'=>
reorder-after <CYR-CHE>
<c%//=>

reorder-after <U0061>
<U0259> <sw>;<PCL>;<MIN>;IGNORE
<U00E4> <sw>;<REU>;<MIN>;IGNORE
reorder-after <U0041>
<U018F> <sw>;<PCL>;<CAP>;IGNORE
<U00C4> <sw>;<REU>;<CAP>;IGNORE

reorder-after <U0063>
<U00E7> <c,>;<CDI>;<MIN>;IGNORE
reorder-after <U0043>
<U00C7> <c,>;<CDI>;<CAP>;IGNORE

reorder-after <U0067>
<U011F> <g(>;<BRE>;<MIN>;IGNORE
reorder-after <U0047>
<U011E> <g(>;<BRE>;<CAP>;IGNORE

reorder-after <U0068>
<U0131> <i>;<BAS>;<MIN>;IGNORE
<U0069> <i.>;<PCT>;<MIN>;IGNORE
reorder-after <U0048>
<U0049> <i>;<BAS>;<CAP>;IGNORE
<U0130> <i.>;<PCT>;<CAP>;IGNORE

reorder-after <U006E>
<U014B> <ng>;<PCL>;<MIN>;IGNORE
<U00F1> <ng>;<TIL>;<MIN>;IGNORE
reorder-after <U004E>
<U014A> <ng>;<PCL>;<CAP>;IGNORE
<U00D1> <ng>;<TIL>;<CAP>;IGNORE

reorder-after <U006F>
<U0275> <o-->;<REU>;<MIN>;IGNORE
<U00F6> <o-->;<REU>;<MIN>;IGNORE
reorder-after <U004F>
<U019F> <o-->;<REU>;<CAP>;IGNORE
<U00D6> <o-->;<REU>;<CAP>;IGNORE

reorder-after <U0073>
<U015F> <s,>;<CDI>;<MIN>;IGNORE
reorder-after <U0053>
<U015E> <s,>;<CDI>;<CAP>;IGNORE

reorder-after <U0075>
<U00FC> <u:>;<REU>;<MIN>;IGNORE
reorder-after <U0055>
<U00DC> <u:>;<REU>;<CAP>;IGNORE

reorder-after <U0433>
<U0493> <g-=>;<PCL>;<MIN>;IGNORE
reorder-after <U0413>
<U0492> <g-=>;<PCL>;<CAP>;IGNORE

reorder-after <U0435>
<U04D9> <sw=>;<PCL>;<MIN>;IGNORE
reorder-after <U0415>
<U04D8> <sw=>;<PCL>;<CAP>;IGNORE

reorder-after <U043A>
<U049D> <k//=>;<PCL>;<MIN>;IGNORE
reorder-after <U041A>
<U049C> <k//=>;<PCL>;<CAP>;IGNORE

reorder-after <U043D>
<U04A3> <n,=>;<PCL>;<MIN>;IGNORE
reorder-after <U041D>
<U04A2> <n,=>;<PCL>;<CAP>;IGNORE

reorder-after <U043E>
<U04E9> <o-=>;<PCL>;<MIN>;IGNORE
reorder-after <U041E>
<U04E8> <o-=>;<PCL>;<CAP>;IGNORE

reorder-after <U0443>
<U04AF> <u'=>;<PCL>;<MIN>;IGNORE
reorder-after <U0423>
<U04AE> <u'=>;<PCL>;<CAP>;IGNORE

reorder-after <U0445>
<U04BB> <h'=>;<PCL>;<MIN>;IGNORE
reorder-after <U0425>
<U04BA> <h'=>;<PCL>;<CAP>;IGNORE

reorder-after <U0447>
<U04B9> <c%//=>;<PCL>;<MIN>;IGNORE
reorder-after <U0427>
<U04B8> <c%//=>;<PCL>;<CAP>;IGNORE

reorder-end


END LC_COLLATE

LC_MESSAGES
yesstr  "<U04D8><U0439><U0435>"
nostr   "<U042E><U043A>"
yesexpr "<U005E><U005B><U0414><U0434><U0059><U0079><U005D><U002E><U002A>"
noexpr  "<U005E><U005B><U041D><U043D><U004E><U006E><U005D><U002E><U002A>"
END LC_MESSAGES

LC_MONETARY
int_curr_symbol           "<U0052><U0055><U0042><U0020>"
currency_symbol           "<U0440><U0443><U0431>"
mon_decimal_point         "<U002E>"
mon_thousands_sep         "<U0020>"
mon_grouping              3;3
positive_sign             ""
negative_sign             "<U002D>"
int_frac_digits           2
frac_digits               2
p_cs_precedes             0
p_sep_by_space            1
n_cs_precedes             0
n_sep_by_space            1
p_sign_posn               1
n_sign_posn               1
END LC_MONETARY

LC_NUMERIC
copy "ru_RU"
END LC_NUMERIC

LC_TIME
day     "<U042F><U043A><U0448><U04D9><U043C><U0431><U0435>";/
        "<U0414><U044B><U0448><U04D9><U043C><U0431><U0435>";/
        "<U0421><U0438><U0448><U04D9><U043C><U0431><U0435>";/
        "<U0427><U04D9><U0440><U0448><U04D9><U04D9><U043C><U0431><U0435>";/
        "<U041F><U04D9><U043D><U0497><U0435><U0448><U043C><U0431><U0435>";/
        "<U0496><U043E><U043C><U0433><U0430>";/
        "<U0428><U0438><U043C><U0431><U04D9>"
abday   "<U042F><U043A><U0448>";/
        "<U0414><U044B><U0448>";/
        "<U0421><U0438><U0448>";/
        "<U0427><U04D9><U0440><U0448>";/
        "<U041F><U04D9><U043D><U0497>";/
        "<U0496><U043E><U043C>";/
        "<U0428><U0438><U043C>"
mon     "<U042F><U043D><U0432><U0430><U0440><U044F>";/
        "<U0424><U0435><U0432><U0440><U0430><U043B><U044F>";/
        "<U041C><U0430><U0440><U0442><U0430>";/
        "<U0410><U043F><U0440><U0435><U043B><U044F>";/
        "<U041C><U0430><U044F>";/
        "<U0418><U044E><U043D><U044F>";/
        "<U0418><U044E><U043B><U044F>";/
        "<U0410><U0432><U0433><U0443><U0441><U0442><U0430>";/
        "<U0421><U0435><U043D><U0442><U044F><U0431><U0440><U044F>";/
        "<U041E><U043A><U0442><U044F><U0431><U0440><U044F>";/
        "<U041D><U043E><U044F><U0431><U0440><U044F>";/
        "<U0414><U0435><U043A><U0430><U0431><U0440><U044F>"
abmon   "<U042F><U043D><U0432>";/
        "<U0424><U0435><U0432>";/
        "<U041C><U0430><U0440>";/
        "<U0410><U043F><U0440>";/
        "<U041C><U0430><U0439>";/
        "<U0418><U044E><U043D>";/
        "<U0418><U044E><U043B>";/
        "<U0410><U0432><U0433>";/
        "<U0421><U0435><U043D>";/
        "<U041E><U043A><U0442>";/
        "<U041D><U043E><U044F>";/
        "<U0414><U0435><U043A>"
d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062>/
<U0020><U0025><U0059><U0020><U0025><U0054>"
d_fmt     "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
t_fmt     "<U0025><U0054>"
am_pm     "";""
t_fmt_ampm ""
END LC_TIME

LC_PAPER
copy "ru_RU"
END LC_PAPER

LC_MEASUREMENT
copy "ru_RU"
END LC_MEASUREMENT

LC_NAME
% FIXME
name_fmt "???"
END LC_NAME

LC_ADDRESS
% FIXME
postal_fmt "???"
END LC_ADDRESS

LC_TELEPHONE
copy "ru_RU"
END LC_TELEPHONE
