4 % Persian Language Locale for Iran with UTF-8 character set
5 % Source: Sharif FarsiWeb, Inc.
6 % Address: 5, Shahid Ghasemi Habibollah, Azadi Ave, Tehran, Iran
7 % Contact: Roozbeh Pournader
8 % Email: roozbeh@farsiweb.info
18 % Distribution and use is free, also
19 % for commercial purposes.
22 title "Persian locale for Iran"
23 source "Sharif FarsiWeb, Inc."
24 address "5, Shahid Ghasemi Habibollah, Azadi Ave, Tehran, Iran"
25 contact "Roozbeh Pournader"
26 email "roozbeh@farsiweb.info"
34 category "fa_IR:2005";LC_IDENTIFICATION
35 category "fa_IR:2005";LC_CTYPE
36 category "fa_IR:2005";LC_COLLATE
37 category "fa_IR:2005";LC_TIME
38 category "fa_IR:2005";LC_NUMERIC
39 category "fa_IR:2005";LC_MONETARY
40 category "fa_IR:2005";LC_MESSAGES
41 category "fa_IR:2005";LC_PAPER
42 category "fa_IR:2005";LC_NAME
43 category "fa_IR:2005";LC_ADDRESS
44 category "fa_IR:2005";LC_TELEPHONE
51 % Persian uses the alternate digits U+06F0..U+06F9
52 outdigit <U06F0>..<U06F9>
54 % This is used in the scanf family of functions to read Persian numbers
55 % using "%Id" and such.
70 % This is used in the printf family of functions to write Persian floating
71 % point numbers using "%If" and such.
77 include "translit_combining";""
84 % The Persian alphabet order is: ALEF WITH MADDA ABOVE, ALEF, HAMZA (all
85 % kinds), BEH, PEH, TEH, JEEM, TCHEH, HAH, KHAH, DAL, THAL, REH, ZAIN, JEH,
86 % SEEN, SHEEN, SAD, DAD, TAH, ZAH, AIN, GHAIN, FEH, QAF, KAF, GAF, LAM,
87 % MEEM, NOON, WAW, HEH, YEH.
88 % The various kinds of HAMZA are sorted as ALEF WITH HAMZA ABOVE, ALEF WITH
89 % HAMZA BELOW, WAW WITH HAMZA ABOVE, YEH WITH HAMZA ABOVE.
91 collating-symbol <AHY> % accent hamza over yeh
92 collating-symbol <ADL> % dotless
93 collating-symbol <ADO> % with dots over
94 collating-symbol <AWO> % with wasla over
96 collating-symbol <alefmadda>
97 collating-symbol <yeh>
99 % Alternate representations displayed the same
100 collating-symbol <ALT1>
101 collating-symbol <ALT2>
103 collating-element <Alef-Madda> from "<U0627><U0653>"
104 collating-element <Alef-Hamza> from "<U0627><U0654>"
105 collating-element <Alef-HamzaBelow> from "<U0627><U0655>"
106 collating-element <Waw-Hamza> from "<U0648><U0654>"
107 collating-element <AlefMaksura-Hamza> from "<U0649><U0654>"
108 collating-element <Yeh-Hamza> from "<U064A><U0654>"
109 collating-element <FarsiYeh-Hamza> from "<U06CC><U0654>"
135 % Persian uses this order: Fatha, Kasra, Damma, Fathatan, Kasratan, Dammatan.
137 reorder-after <U066D>
138 <U064E> IGNORE;IGNORE;IGNORE;<U064E> %<fatha_no>
139 <UFE76> IGNORE;IGNORE;IGNORE;<UFE76> %<fatha_is>
140 <UFE77> IGNORE;IGNORE;IGNORE;<UFE77> %<fatha_me>
141 <U0650> IGNORE;IGNORE;IGNORE;<U0650> %<kasra_no>
142 <UFE7A> IGNORE;IGNORE;IGNORE;<UFE7A> %<kasra_is>
143 <UFE7B> IGNORE;IGNORE;IGNORE;<UFE7B> %<kasra_me>
144 <U064F> IGNORE;IGNORE;IGNORE;<U064F> %<damma_no>
145 <UFE78> IGNORE;IGNORE;IGNORE;<UFE78> %<damma_is>
146 <UFE79> IGNORE;IGNORE;IGNORE;<UFE79> %<damma_me>
147 <U064B> IGNORE;IGNORE;IGNORE;<U064B> %<fathatan_no>
148 <UFE70> IGNORE;IGNORE;IGNORE;<UFE70> %<fathatan_is>
149 <UFE71> IGNORE;IGNORE;IGNORE;<UFE71> %<fathatan_me>
150 <U064D> IGNORE;IGNORE;IGNORE;<U064D> %<kasratan_no>
151 <UFE74> IGNORE;IGNORE;IGNORE;<UFE74> %<kasratan_is>
152 <U064C> IGNORE;IGNORE;IGNORE;<U064C> %<dammatan_no>
153 <UFE72> IGNORE;IGNORE;IGNORE;<UFE72> %<dammatan_is>
155 reorder-after <UFE7F>
156 <U0653> IGNORE;IGNORE;IGNORE;<U0653> %<madda_no>
157 <U0654> IGNORE;IGNORE;IGNORE;<U0654> %<hamzaabove_no>
158 <U0655> IGNORE;IGNORE;IGNORE;<U0655> %<hamzabelow_no>
159 <U0670> IGNORE;IGNORE;IGNORE;<U0670> %<supalef_no>
161 % The Persian digits are sorted before the Arabic ones: they are the basic forms.
162 reorder-after <U0660>
163 <U06F0> <0>;<BAS>;<MIN>;IGNORE
164 <U0660> <0>;<PCL>;<MIN>;IGNORE
165 <U06F1> <1>;<BAS>;<MIN>;IGNORE
166 <U0661> <1>;<PCL>;<MIN>;IGNORE
167 <U06F2> <2>;<BAS>;<MIN>;IGNORE
168 <U0662> <2>;<PCL>;<MIN>;IGNORE
169 <U06F3> <3>;<BAS>;<MIN>;IGNORE
170 <U0663> <3>;<PCL>;<MIN>;IGNORE
171 <U06F4> <4>;<BAS>;<MIN>;IGNORE
172 <U0664> <4>;<PCL>;<MIN>;IGNORE
173 <U06F5> <5>;<BAS>;<MIN>;IGNORE
174 <U0665> <5>;<PCL>;<MIN>;IGNORE
175 <U06F6> <6>;<BAS>;<MIN>;IGNORE
176 <U0666> <6>;<PCL>;<MIN>;IGNORE
177 <U06F7> <7>;<BAS>;<MIN>;IGNORE
178 <U0667> <7>;<PCL>;<MIN>;IGNORE
179 <U06F8> <8>;<BAS>;<MIN>;IGNORE
180 <U0668> <8>;<PCL>;<MIN>;IGNORE
181 <U06F9> <9>;<BAS>;<MIN>;IGNORE
182 <U0669> <9>;<PCL>;<MIN>;IGNORE
184 % And then the letters:
185 <U0622> <alefmadda>;<BAS>;<MIN>;IGNORE % Alef With Madda Above
186 <Alef-Madda> <alefmadda>;<BAS>;<MIN>;IGNORE
187 <U0627> <alef>;<BAS>;<MIN>;IGNORE % Alef
188 <U0671> <alef>;<AWO>;<MIN>;IGNORE % Alef Wasla
189 <U0621> <hamza>;<BAS>;<MIN>;IGNORE % Hamza
190 <U0623> <hamza>;<AHA>;<MIN>;IGNORE % Alef With Hamza Above
191 <Alef-Hamza> <hamza>;<AHA>;<MIN>;IGNORE
192 <U0625> <hamza>;<AHS>;<MIN>;IGNORE % Alef With Hamza Below
193 <Alef-HamzaBelow> <hamza>;<AHS>;<MIN>;IGNORE
194 <U0624> <hamza>;<AHW>;<MIN>;IGNORE % Waw With Hamza Above
195 <Waw-Hamza> <hamza>;<AHW>;<MIN>;IGNORE
196 <U0626> <hamza>;<AHY>;<MIN>;IGNORE % Yeh With Hamza Above
197 <FarsiYeh-Hamza> <hamza>;<AHY>;<ALT1>;IGNORE
198 <AlefMaksura-Hamza> <hamza>;<AHY>;<ALT2>;IGNORE
199 <Yeh-Hamza> <hamza>;<AHY>;<MIN>;IGNORE
200 reorder-after <U0642>
201 <U06A9> <kaf>;<BAS>;<MIN>;IGNORE % Keheh
202 <U0643> <kaf>;<PCL>;<MIN>;IGNORE % Kaf
203 reorder-after <U0648>
204 <U0647> <heh>;<BAS>;<MIN>;IGNORE % Heh
205 <U0629> <heh>;<ADO>;<MIN>;IGNORE % Teh Marbuta
206 <U06C0> <heh>;<AHA>;<MIN>;IGNORE % Heh With Yeh Above
207 <U06CC> <yeh>;<BAS>;<MIN>;IGNORE % Farsi Yeh
208 <U0649> <yeh>;<ADL>;<MIN>;IGNORE % Alef Maksura
209 <U064A> <yeh>;<AYE>;<MIN>;IGNORE % Yeh
211 % Finally the letters in Presentation Form:
212 reorder-after <UFE80>
213 <UFE81> <alefmadda>;<BAS>;<AIS>;IGNORE
214 <UFE82> <alefmadda>;<BAS>;<AFI>;IGNORE
215 <UFE8D> <alef>;<BAS>;<AIS>;IGNORE
216 <UFE8E> <alef>;<BAS>;<AFI>;IGNORE
217 <UFB50> <alef>;<AWO>;<AIS>;IGNORE
218 <UFB51> <alef>;<AWO>;<AFI>;IGNORE
219 <UFE80> <hamza>;<BAS>;<AIS>;IGNORE
220 <UFE83> <hamza>;<AHA>;<AIS>;IGNORE
221 <UFE84> <hamza>;<AHA>;<AFI>;IGNORE
222 <UFE87> <hamza>;<AHS>;<AIS>;IGNORE
223 <UFE88> <hamza>;<AHS>;<AFI>;IGNORE
224 <UFE85> <hamza>;<AHW>;<AIS>;IGNORE
225 <UFE86> <hamza>;<AHW>;<AFI>;IGNORE
226 <U0689> <hamza>;<AHY>;<AIS>;IGNORE
227 <U068A> <hamza>;<AHY>;<AFI>;IGNORE
228 reorder-after <UFEAE>
229 <UFDFC> "<reh><yeh><alef><lam>";"<LIG><LIG><LIG><LIG>";"<AII><AME><AFI><AIS>";IGNORE % Rial Sign
230 reorder-after <UFED8>
231 <UFB8E> <kaf>;<BAS>;<AIS>;IGNORE
232 <UFB8F> <kaf>;<BAS>;<AFI>;IGNORE
233 <UFB90> <kaf>;<BAS>;<AII>;IGNORE
234 <UFB91> <kaf>;<BAS>;<AME>;IGNORE
235 <UFED9> <kaf>;<PCL>;<AIS>;IGNORE
236 <UFEDA> <kaf>;<PCL>;<AFI>;IGNORE
237 <UFEDB> <kaf>;<PCL>;<AII>;IGNORE
238 <UFEDC> <kaf>;<PCL>;<AME>;IGNORE
239 reorder-after <UFEEE>
240 <UFEE9> <heh>;<BAS>;<AIS>;IGNORE
241 <UFEEA> <heh>;<BAS>;<AFI>;IGNORE
242 <UFEEB> <heh>;<BAS>;<AII>;IGNORE
243 <UFEEC> <heh>;<BAS>;<AME>;IGNORE
244 <UFE93> <heh>;<ADO>;<AIS>;IGNORE
245 <UFE94> <heh>;<ADO>;<AFI>;IGNORE
246 <UFBA4> <heh>;<AHA>;<AIS>;IGNORE
247 <UFBA5> <heh>;<AHA>;<AFI>;IGNORE
248 <UFBFC> <yeh>;<BAS>;<AIS>;IGNORE
249 <UFBFD> <yeh>;<BAS>;<AFI>;IGNORE
250 <UFBFE> <yeh>;<BAS>;<AII>;IGNORE
251 <UFBFF> <yeh>;<BAS>;<AME>;IGNORE
252 <UFEEF> <yeh>;<ADL>;<AIS>;IGNORE
253 <UFEF0> <yeh>;<ADL>;<AFI>;IGNORE
254 <UFEF1> <yeh>;<AYE>;<AIS>;IGNORE
255 <UFEF2> <yeh>;<AYE>;<AFI>;IGNORE
256 <UFEF3> <yeh>;<AYE>;<AII>;IGNORE
257 <UFEF4> <yeh>;<AYE>;<AME>;IGNORE
258 <UFEF5> "<lam><alefmadda>";"<BAS><BAS>";"<AIS><AFI>";IGNORE
259 <UFEF6> "<lam><alefmadda>";"<BAS><BAS>";"<AFI><AFI>";IGNORE
260 <UFEF7> "<lam><hamza>";"<BAS><AHA>";"<AIS><AFI>";IGNORE
261 <UFEF8> "<lam><hamza>";"<BAS><AHA>";"<AFI><AFI>";IGNORE
262 <UFEF9> "<lam><hamza>";"<BAS><AHS>";"<AIS><AFI>";IGNORE
263 <UFEFA> "<lam><hamza>";"<BAS><AHS>";"<AFI><AFI>";IGNORE
264 <UFEFB> "<lam><alef>";"<BAS><BAS>";"<AIS><AFI>";IGNORE
265 <UFEFC> "<lam><alef>";"<BAS><BAS>";"<AFI><AFI>";IGNORE
271 int_curr_symbol "<U0049><U0052><U0052><U0020>"
272 currency_symbol "<U0631><U06CC><U0627><U0644>"
273 mon_decimal_point "<U066B>"
274 mon_thousands_sep "<U066C>"
277 negative_sign "<U002D>"
280 % The following positioning is based on Unicode 3.0 bidirectional algorithm,
281 % with a "base direction" of right-to-left.
288 % The following positioning is based on Unicode 3.0 bidirectional algorithm,
289 % with a "base direction" of left-to-right.
299 decimal_point "<U002E>"
300 thousands_sep "<U002C>"
305 % Alternative digits are used for Persian numerals in date and time. This is
306 % a hack, until a new prefix is defined for alternative digits.
307 alt_digits "<U06F0><U06F0>";"<U06F0><U06F1>";/
308 "<U06F0><U06F2>";"<U06F0><U06F3>";/
309 "<U06F0><U06F4>";"<U06F0><U06F5>";/
310 "<U06F0><U06F6>";"<U06F0><U06F7>";/
311 "<U06F0><U06F8>";"<U06F0><U06F9>";/
312 "<U06F1><U06F0>";"<U06F1><U06F1>";/
313 "<U06F1><U06F2>";"<U06F1><U06F3>";/
314 "<U06F1><U06F4>";"<U06F1><U06F5>";/
315 "<U06F1><U06F6>";"<U06F1><U06F7>";/
316 "<U06F1><U06F8>";"<U06F1><U06F9>";/
317 "<U06F2><U06F0>";"<U06F2><U06F1>";/
318 "<U06F2><U06F2>";"<U06F2><U06F3>";/
319 "<U06F2><U06F4>";"<U06F2><U06F5>";/
320 "<U06F2><U06F6>";"<U06F2><U06F7>";/
321 "<U06F2><U06F8>";"<U06F2><U06F9>";/
322 "<U06F3><U06F0>";"<U06F3><U06F1>";/
323 "<U06F3><U06F2>";"<U06F3><U06F3>";/
324 "<U06F3><U06F4>";"<U06F3><U06F5>";/
325 "<U06F3><U06F6>";"<U06F3><U06F7>";/
326 "<U06F3><U06F8>";"<U06F3><U06F9>";/
327 "<U06F4><U06F0>";"<U06F4><U06F1>";/
328 "<U06F4><U06F2>";"<U06F4><U06F3>";/
329 "<U06F4><U06F4>";"<U06F4><U06F5>";/
330 "<U06F4><U06F6>";"<U06F4><U06F7>";/
331 "<U06F4><U06F8>";"<U06F4><U06F9>";/
332 "<U06F5><U06F0>";"<U06F5><U06F1>";/
333 "<U06F5><U06F2>";"<U06F5><U06F3>";/
334 "<U06F5><U06F4>";"<U06F5><U06F5>";/
335 "<U06F5><U06F6>";"<U06F5><U06F7>";/
336 "<U06F5><U06F8>";"<U06F5><U06F9>";/
337 "<U06F6><U06F0>";"<U06F6><U06F1>";/
338 "<U06F6><U06F2>";"<U06F6><U06F3>";/
339 "<U06F6><U06F4>";"<U06F6><U06F5>";/
340 "<U06F6><U06F6>";"<U06F6><U06F7>";/
341 "<U06F6><U06F8>";"<U06F6><U06F9>";/
342 "<U06F7><U06F0>";"<U06F7><U06F1>";/
343 "<U06F7><U06F2>";"<U06F7><U06F3>";/
344 "<U06F7><U06F4>";"<U06F7><U06F5>";/
345 "<U06F7><U06F6>";"<U06F7><U06F7>";/
346 "<U06F7><U06F8>";"<U06F7><U06F9>";/
347 "<U06F8><U06F0>";"<U06F8><U06F1>";/
348 "<U06F8><U06F2>";"<U06F8><U06F3>";/
349 "<U06F8><U06F4>";"<U06F8><U06F5>";/
350 "<U06F8><U06F6>";"<U06F8><U06F7>";/
351 "<U06F8><U06F8>";"<U06F8><U06F9>";/
352 "<U06F9><U06F0>";"<U06F9><U06F1>";/
353 "<U06F9><U06F2>";"<U06F9><U06F3>";/
354 "<U06F9><U06F4>";"<U06F9><U06F5>";/
355 "<U06F9><U06F6>";"<U06F9><U06F7>";/
356 "<U06F9><U06F8>";"<U06F9><U06F9>"
357 % Persian doesn't have abbreviations for weekdays and month names, so
358 % "abday" is the same as "day" and "abmon" is the same as "mon"
359 abday "<U06CC><U06A9><U0634><U0646><U0628><U0647>";/
360 "<U062F><U0648><U0634><U0646><U0628><U0647>";/
361 "<U0633><U0647><U200C><U0634><U0646><U0628><U0647>";/
362 "<U0686><U0647><U0627><U0631><U0634><U0646><U0628><U0647>";/
363 "<U067E><U0646><U062C><U0634><U0646><U0628><U0647>";/
364 "<U062C><U0645><U0639><U0647>";/
365 "<U0634><U0646><U0628><U0647>"
366 day "<U06CC><U06A9><U0634><U0646><U0628><U0647>";/
367 "<U062F><U0648><U0634><U0646><U0628><U0647>";/
368 "<U0633><U0647><U200C><U0634><U0646><U0628><U0647>";/
369 "<U0686><U0647><U0627><U0631><U0634><U0646><U0628><U0647>";/
370 "<U067E><U0646><U062C><U0634><U0646><U0628><U0647>";/
371 "<U062C><U0645><U0639><U0647>";/
372 "<U0634><U0646><U0628><U0647>"
373 mon "<U0698><U0627><U0646><U0648><U06CC><U0647>";/
374 "<U0641><U0648><U0631><U06CC><U0647>";/
375 "<U0645><U0627><U0631><U0633>";/
376 "<U0622><U0648><U0631><U06CC><U0644>";/
378 "<U0698><U0648><U0626><U0646>";/
379 "<U0698><U0648><U0626><U06CC><U0647>";/
380 "<U0627><U0648><U062A>";/
381 "<U0633><U067E><U062A><U0627><U0645><U0628><U0631>";/
382 "<U0627><U0643><U062A><U0628><U0631>";/
383 "<U0646><U0648><U0627><U0645><U0628><U0631>";/
384 "<U062F><U0633><U0627><U0645><U0628><U0631>"
385 abmon "<U0698><U0627><U0646><U0648><U06CC><U0647>";/
386 "<U0641><U0648><U0631><U06CC><U0647>";/
387 "<U0645><U0627><U0631><U0633>";/
388 "<U0622><U0648><U0631><U06CC><U0644>";/
390 "<U0698><U0648><U0626><U0646>";/
391 "<U0698><U0648><U0626><U06CC><U0647>";/
392 "<U0627><U0648><U062A>";/
393 "<U0633><U067E><U062A><U0627><U0645><U0628><U0631>";/
394 "<U0627><U0643><U062A><U0628><U0631>";/
395 "<U0646><U0648><U0627><U0645><U0628><U0631>";/
396 "<U062F><U0633><U0627><U0645><U0628><U0631>"
397 % Persian does not have the 12-hour format
401 % Appropriate date representation (%x)
403 d_fmt "<U0025><U004F><U0079><U002F>/
404 <U0025><U004F><U006D><U002F>/
405 <U0025><U004F><U0064>"
407 % Appropriate time representation (%X)
409 t_fmt "<U0025><U004F><U0048><U003A>/
410 <U0025><U004F><U004D><U003A>/
411 <U0025><U004F><U0053>"
413 % FIXME: need to add "HAMZA ABOVE" after January, February, May, July when used
416 % Appropriate date and time representation (%c)
417 % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
418 d_t_fmt "<U202B><U0025><U0041><U0020>/
419 <U0025><U004F><U0065><U0020>/
420 <U0025><U0042><U0020>/
421 <U0025><U004F><U0079><U060C><U0020>/
422 <U0025><U004F><U0048><U003A>/
423 <U0025><U004F><U004D><U003A>/
424 <U0025><U004F><U0053><U202C>"
426 % Appropriate date representation (date(1))
427 % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
428 date_fmt "<U202B><U0025><U0041><U0020>/
429 <U0025><U004F><U0065><U0020>/
430 <U0025><U0042><U0020>/
431 <U0025><U004F><U0079><U060C><U0020>/
432 <U0633><U0627><U0639><U062A><U0020>/
433 <U0025><U004F><U0048><U003A>/
434 <U0025><U004F><U004D><U003A>/
435 <U0025><U004F><U0053><U0020>/
436 <U0028><U0025><U005A><U0029><U202C>"
443 % This is "^[yY<ALEF MADDA><BEH>Hf].*"
444 yesexpr "<U005E><U005B><U0079><U0059><U0622><U0628><U0048><U0066><U005D><U002E><U002A>"
445 % This is "^[nN<KHAH><NOON>ok].*"
446 noexpr "<U005E><U005B><U006E><U004E><U062E><U0646><U006F><U006B><U005D><U002E><U002A>"
456 name_miss "<U062E><U0627><U0646><U0645>"
457 name_ms "<U062E><U0627><U0646><U0645>"
458 name_mrs "<U062E><U0627><U0646><U0645>"
459 name_mr "<U0622><U0642><U0627><U06CC>"
460 name_fmt "<U0025><U0064><U0025><U0074><U0025><U0073><U0025><U0074>/
461 <U0025><U0067><U0025><U0074><U0025><U006D><U0025><U0074><U0025><U0066>"
465 postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
466 <U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
467 <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
468 <U004E><U0025><U007A><U0020><U0025><U0054><U0025>/
469 <U004E><U0025><U0063><U0025><U004E>"
470 country_name "<U0627><U06CC><U0631><U0627><U0646>"
471 country_ab2 "<U0049><U0052>"
472 country_ab3 "<U0049><U0052><U004E>"
474 country_car "<U0049><U0052>"
475 country_isbn "<U0039><U0036><U0034>"
476 lang_name "<U0641><U0627><U0631><U0633><U06CC>"
477 lang_ab "<U0066><U0061>"
478 lang_term "<U0066><U0061><U0073>"
479 lang_lib "<U0070><U0065><U0072>"
483 tel_int_fmt "<U202A><U002B><U0025><U0063><U0020><U0025><U0061><U0020>/
484 <U0025><U006C><U202C>"
485 tel_dom_fmt "<U202A><U0025><U0041><U2012><U0025><U006C><U202C>"
486 int_select "<U0030><U0030>"
487 int_prefix "<U0039><U0038>"