comment_char % escape_char / % % Persian Language Locale for Iran with UTF-8 character set % Source: Sharif FarsiWeb, Inc. % Address: 5, Shahid Ghasemi Habibollah, Azadi Ave, Tehran, Iran % Contact: Roozbeh Pournader % Email: roozbeh@farsiweb.info % Tel: +98 21 6022372 % Fax: +98 21 6019568 % Language: fa % Territory: IR % Revision: 3.0 % Date: 2005-04-06 % Users: general % Repertoiremap: % Charset: UTF-8 % Distribution and use is free, also % for commercial purposes. LC_IDENTIFICATION title "Persian locale for Iran" source "Sharif FarsiWeb, Inc." address "5, Shahid Ghasemi Habibollah, Azadi Ave, Tehran, Iran" contact "Roozbeh Pournader" email "roozbeh@farsiweb.info" tel "+98 21 6022372" fax "+98 21 6019568" language "Persian" territory "Iran" revision "3.0" date "2005-04-06" % category "fa_IR:2005";LC_IDENTIFICATION category "fa_IR:2005";LC_CTYPE category "fa_IR:2005";LC_COLLATE category "fa_IR:2005";LC_TIME category "fa_IR:2005";LC_NUMERIC category "fa_IR:2005";LC_MONETARY category "fa_IR:2005";LC_MESSAGES category "fa_IR:2005";LC_PAPER category "fa_IR:2005";LC_NAME category "fa_IR:2005";LC_ADDRESS category "fa_IR:2005";LC_TELEPHONE END LC_IDENTIFICATION LC_CTYPE copy "i18n" % Persian uses the alternate digits U+06F0..U+06F9 outdigit .. % This is used in the scanf family of functions to read Persian numbers % using "%Id" and such. map to_inpunct; / (,); / (,); / (,); / (,); / (,); / (,); / (,); / (,); / (,); / (,); / (,); / (,) % This is used in the printf family of functions to write Persian floating % point numbers using "%If" and such. map to_outpunct; / (,); / (,) END LC_CTYPE LC_COLLATE copy "iso14651_t1" % The Persian alphabet order is: ALEF WITH MADDA ABOVE, ALEF, HAMZA (all % kinds), BEH, PEH, TEH, JEEM, TCHEH, HAH, KHAH, DAL, THAL, REH, ZAIN, JEH, % SEEN, SHEEN, SAD, DAD, TAH, ZAH, AIN, GHAIN, FEH, QAF, KAF, GAF, LAM, % MEEM, NOON, WAW, HEH, YEH. % The various kinds of HAMZA are sorted as ALEF WITH HAMZA ABOVE, ALEF WITH % HAMZA BELOW, WAW WITH HAMZA ABOVE, YEH WITH HAMZA ABOVE. collating-symbol % accent hamza over yeh collating-symbol % dotless collating-symbol % with dots over collating-symbol % with wasla over collating-symbol collating-symbol % Alternate representations displayed the same collating-symbol collating-symbol collating-element from "" collating-element from "" collating-element from "" collating-element from "" collating-element from "" collating-element from "" reorder-after reorder-after reorder-after reorder-after % Persian uses this order: Fatha, Kasra, Damma, Fathatan, Kasratan, Dammatan. reorder-after IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % reorder-after IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % IGNORE;IGNORE;IGNORE; % % The Persian digits are sorted before the Arabic ones: they are the basic forms. reorder-after <0>;;;IGNORE <0>;;;IGNORE <1>;;;IGNORE <1>;;;IGNORE <2>;;;IGNORE <2>;;;IGNORE <3>;;;IGNORE <3>;;;IGNORE <4>;;;IGNORE <4>;;;IGNORE <5>;;;IGNORE <5>;;;IGNORE <6>;;;IGNORE <6>;;;IGNORE <7>;;;IGNORE <7>;;;IGNORE <8>;;;IGNORE <8>;;;IGNORE <9>;;;IGNORE <9>;;;IGNORE % And then the letters: ;;;IGNORE % Alef With Madda Above ;;;IGNORE ;;;IGNORE % Alef ;;;IGNORE % Alef Wasla ;;;IGNORE % Hamza ;;;IGNORE % Alef With Hamza Above ;;;IGNORE ;;;IGNORE % Alef With Hamza Below ;;;IGNORE ;;;IGNORE % Waw With Hamza Above ;;;IGNORE ;;;IGNORE % Yeh With Hamza Above ;;;IGNORE ;;;IGNORE ;;;IGNORE reorder-after ;;;IGNORE % Keheh ;;;IGNORE % Kaf reorder-after ;;;IGNORE % Heh ;;;IGNORE % Teh Marbuta ;;;IGNORE % Heh With Yeh Above ;;;IGNORE % Farsi Yeh ;;;IGNORE % Alef Maksura ;;;IGNORE % Yeh % Finally the letters in Presentation Form: reorder-after ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE reorder-after "";"";"";IGNORE % Rial Sign reorder-after ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE reorder-after ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE ;;;IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE "";"";"";IGNORE reorder-end END LC_COLLATE LC_MONETARY int_curr_symbol "" currency_symbol "" mon_decimal_point "" mon_thousands_sep "" mon_grouping 3 positive_sign "" negative_sign "" int_frac_digits 0 frac_digits 0 % The following positioning is based on Unicode 3.0 bidirectional algorithm, % with a "base direction" of right-to-left. 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 % The following positioning is based on Unicode 3.0 bidirectional algorithm, % with a "base direction" of left-to-right. int_p_cs_precedes 0 int_p_sep_by_space 1 int_n_cs_precedes 0 int_n_sep_by_space 1 int_p_sign_posn 1 int_n_sign_posn 1 END LC_MONETARY LC_NUMERIC decimal_point "" thousands_sep "" grouping 3 END LC_NUMERIC LC_TIME % 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 "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"";/ "";"" % Persian doesn't have abbreviations for weekdays and month names, so % "abday" is the same as "day" and "abmon" is the same as "mon" abday "";/ "";/ "";/ "";/ "";/ "";/ "" day "";/ "";/ "";/ "";/ "";/ "";/ "" mon "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "" abmon "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "" % Persian does not have the 12-hour format am_pm "";"" t_fmt_ampm "" % % Appropriate date representation (%x) % "%Oy/%Om/%Od" d_fmt "/ / " % % Appropriate time representation (%X) % "%OH:%OM:%OS" t_fmt "/ / " % % FIXME: need to add "HAMZA ABOVE" after January, February, May, July when used % before a year % % Appropriate date and time representation (%c) % "%A %Oe %B %Oy %OH:%OM:%OS" d_t_fmt "/ / / / / / " % % Appropriate date representation (date(1)) % "%A %Oe %B %Oy %OH:%OM:%OS (%Z)" date_fmt "/ / / / / / / / " first_weekday 7 first_workday 7 cal_direction 3 END LC_TIME LC_MESSAGES % This is "^[yYHf].*" yesexpr "" % This is "^[nNok].*" noexpr "" END LC_MESSAGES LC_PAPER height 297 width 210 END LC_PAPER LC_NAME name_gen "" name_miss "" name_ms "" name_mrs "" name_mr "" name_fmt "/ " END LC_NAME LC_ADDRESS postal_fmt "/ / / / " country_name "" country_ab2 "" country_ab3 "" country_num 364 country_car "" country_isbn "" lang_name "" lang_ab "" lang_term "" lang_lib "" END LC_ADDRESS LC_TELEPHONE tel_int_fmt "/ " tel_dom_fmt "" int_select "" int_prefix "" END LC_TELEPHONE LC_MEASUREMENT measurement 1 END LC_MEASUREMENT