commit c7aaada2db64f2e77b9bcdc5a9fccccce4e8a44b Author: mjbmr Date: Thu May 7 23:17:10 2015 +0000 Add South Azerbaijani (azb) locale diff --git a/locale/iso-639.def b/locale/iso-639.def index 2529425..b62f44a 100644 --- a/locale/iso-639.def +++ b/locale/iso-639.def @@ -49,6 +49,7 @@ DEFINE_LANGUAGE_CODE3 ("Awadhi", awa, awa) DEFINE_LANGUAGE_CODE ("Aymara, Southern", ay, ayc, ayc) DEFINE_LANGUAGE_CODE ("Aymara", ay, aym, aym) DEFINE_LANGUAGE_CODE ("Azerbaijani", az, aze, aze) +DEFINE_LANGUAGE_CODE3 ("South Azerbaijani", azb, azb) DEFINE_LANGUAGE_CODE3 ("Balinese", ban, ban) DEFINE_LANGUAGE_CODE3 ("Baltic (Other)", bat, bat) DEFINE_LANGUAGE_CODE3 ("Baluchi", bal, bal) diff --git a/localedata/locales/azb_IR b/localedata/locales/azb_IR new file mode 100644 index 0000000..07dfad2 --- /dev/null +++ b/localedata/locales/azb_IR @@ -0,0 +1,291 @@ +comment_char % +escape_char / +% +% South Azerbaijani Language Locale for Iran +% Source: +% Contact: Mousa Moradi +% Email: +% Language: azb +% Territory: IR +% Revision: 1.0 +% Date: 2015-05-07 +% Application: general +% Users: general +% Charset: UTF-8 +% Distribution and use is free, also +% for commercial purposes. + +% FIXME: Azerbaijani O in the arabic script which should have a circle above WAW, +% was not found in the unicode table, so we're using the simple WAW and the Sukun +% after that. This should be changed if they add the unified character to table. + +% NOTE: Azerbaijani dotless 'i' in the arabic script exists in the Unicode table by +% code U063D, but according to arthography rules, it should not be used in usual +% texts and can be used just in kids' learning books and whenever there is ambiguity, +% so here in the words that have it like 'Xanim' it's not been used. + +LC_IDENTIFICATION +title "South Azerbaijani language locale for Iran" +source "" +address "" +contact "Mousa Moradi" +email "mousamk@gmail.com" +tel "(+98) 914 492 1058" +fax "" +language "South Azerbaijani" +territory "Iran" +revision "1.0" +date "2015-05-07" + +category azb_IR:2015;LC_IDENTIFICATION +category azb_IR:2015;LC_CTYPE +category azb_IR:2015;LC_COLLATE +category azb_IR:2015;LC_TIME +category azb_IR:2015;LC_NUMERIC +category azb_IR:2015;LC_PAPER +category azb_IR:2015;LC_TELEPHONE +category azb_IR:2015;LC_MEASUREMENT +category azb_IR:2015;LC_ADDRESS +category azb_IR:2015;LC_MONETARY +category azb_IR:2015;LC_MESSAGES + +END LC_IDENTIFICATION + +% +% TODO: check LC_COLLATE + +LC_COLLATE +% FIXME: For now we're going with persian collation, but the few Azerbaijani specific +% characters need to be considered too. +copy "fa_IR" + +% Azerbaijani letters can be ordered like this: +% ALEF WITH MADDA ABOVE, ALEF, ALEF WITH HAMZA ABOVE, ALEF WITH HAMZA BELOW, +% BEH, PEH, TEH, THEH, JIM, CHEH, HHEH, KHEH, DAL, ZAL, REH, ZEH, JEH, SIN, +% SHIN, SAD, ZAD, TAH, ZAH, AYN, GHAYN, FEH, QAF, KAF, GAF, LAM, MIM, NUN, WAW, +% WAW WITH SOKUN ABOVE (O in latic script - It's not in unicode table yet), +% WAW WITH HAMZA ABOVE (O with two dots above in latin script), WAW WITH LITTLE +% WAW ABOVE (U in latic script), WAW WITH LITTLE V ABOVE (U with two dots +% above in latin script), HEH, YEH WITH HAMZA ABOVE (E in latin script), YEH +% WITH LITTLE INVERTED V ABOVE (Dotless i in latic script), YEH + +% collating-symbol % O with two dots above in latic script +% collating-symbol % U in latic script +% collating-symbol % U with two dots above in latic script +% collating-symbol % E in latic script +% collating-symbol % dotless I in latic script + +% collating-element from "" % O in latic script +% ... + +END LC_COLLATE + +LC_CTYPE +copy "fa_IR" +END LC_CTYPE + +LC_MESSAGES +% This is "^[yY].*" +yesexpr "" +% This is "^[nN].*" +noexpr "" +% This is "Hen": +yesstr "" +% This is "Yox": +nostr "" +END LC_MESSAGES + +LC_MONETARY +copy "fa_IR" +END LC_MONETARY + +LC_NUMERIC +copy "fa_IR" +END LC_NUMERIC + +LC_TIME +% copied from "fa_IR" +% Alternative digits are used for Persian numerals in date and time. This is +% a hack, until a new prefix is defined for alternative digits. +alt_digits "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" + +% South Azerbaijani like Persian doesn't have abbreviations for weekdays and month +% names, so "abday" is the same as "day" and "abmon" is the same as "mon". +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Copied from "fa_IR": +% Appropriate date representation (%x) +% "%Oy/%Om/%Od" +d_fmt "/ +/ +" +% +% Cofied from "fa_IR": +% Appropriate time representation (%X) +% "%OH:%OM:%OS" +t_fmt "/ +/ +" +% +% Copied from "fa_IR": +% Appropriate date and time representation (%c) +% "%A %Oe %B %Oy %OH:%OM:%OS" +d_t_fmt "/ +/ +/ +/ +/ +/ +" +am_pm "";"" +t_fmt_ampm "" +% +% Copied from "fa_IR" and changed a little: +% Appropriate date representation (date(1)) +% "%A %Oe %B %Oy %OH:%OM:%OS (%Z)" +date_fmt "/ +/ +/ +/ +/ +/ +/ +/ +" +week 7;19971059;4 +first_weekday 7 +first_workday 7 +cal_direction 3 +END LC_TIME + +LC_PAPER +copy "fa_IR" +END LC_PAPER + +LC_MEASUREMENT +copy "fa_IR" +END LC_MEASUREMENT + +LC_ADDRESS +% NOTE: Copied from "fa_IR", it should be checked and reconsidered if necessary: +postal_fmt "/ +/ +/ +/ +" + +country_name "" +country_ab2 "" +country_ab3 "" +country_num 364 +country_car "" +country_isbn "" + +% Turkce +lang_name "" +lang_term "" +lang_lib "" +END LC_ADDRESS + +LC_TELEPHONE +copy "fa_IR" +END LC_TELEPHONE + +LC_NAME +name_gen "" +% Xanim: +name_miss "" +name_ms "" +name_mrs "" +% Agha +name_mr "" +name_fmt "/ +" +END LC_NAME