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.
80 % The Persian alphabet order is: ALEF WITH MADDA ABOVE, ALEF, HAMZA (all
81 % kinds), BEH, PEH, TEH, JEEM, TCHEH, HAH, KHAH, DAL, THAL, REH, ZAIN, JEH,
82 % SEEN, SHEEN, SAD, DAD, TAH, ZAH, AIN, GHAIN, FEH, QAF, KAF, GAF, LAM,
83 % MEEM, NOON, WAW, HEH, YEH.
84 % The various kinds of HAMZA are sorted as ALEF WITH HAMZA ABOVE, ALEF WITH
85 % HAMZA BELOW, WAW WITH HAMZA ABOVE, YEH WITH HAMZA ABOVE.
87 collating-symbol <AHY> % accent hamza over yeh
88 collating-symbol <ADL> % dotless
89 collating-symbol <ADO> % with dots over
90 collating-symbol <AWO> % with wasla over
92 collating-symbol <alefmadda>
93 collating-symbol <yeh>
95 % Alternate representations displayed the same
96 collating-symbol <ALT1>
97 collating-symbol <ALT2>
99 collating-element <Alef-Madda> from "<U0627><U0653>"
100 collating-element <Alef-HamzaBelow> from "<U0627><U0655>"
101 collating-element <Waw-Hamza> from "<U0648><U0654>"
102 collating-element <AlefMaksura-Hamza> from "<U0649><U0654>"
103 collating-element <Yeh-Hamza> from "<U064A><U0654>"
104 collating-element <FarsiYeh-Hamza> from "<U06CC><U0654>"
130 % Persian uses this order: Fatha, Kasra, Damma, Fathatan, Kasratan, Dammatan.
132 reorder-after <U066D>
133 <U064E> IGNORE;IGNORE;IGNORE;<U064E> %<fatha_no>
134 <UFE76> IGNORE;IGNORE;IGNORE;<UFE76> %<fatha_is>
135 <UFE77> IGNORE;IGNORE;IGNORE;<UFE77> %<fatha_me>
136 <U0650> IGNORE;IGNORE;IGNORE;<U0650> %<kasra_no>
137 <UFE7A> IGNORE;IGNORE;IGNORE;<UFE7A> %<kasra_is>
138 <UFE7B> IGNORE;IGNORE;IGNORE;<UFE7B> %<kasra_me>
139 <U064F> IGNORE;IGNORE;IGNORE;<U064F> %<damma_no>
140 <UFE78> IGNORE;IGNORE;IGNORE;<UFE78> %<damma_is>
141 <UFE79> IGNORE;IGNORE;IGNORE;<UFE79> %<damma_me>
142 <U064B> IGNORE;IGNORE;IGNORE;<U064B> %<fathatan_no>
143 <UFE70> IGNORE;IGNORE;IGNORE;<UFE70> %<fathatan_is>
144 <UFE71> IGNORE;IGNORE;IGNORE;<UFE71> %<fathatan_me>
145 <U064D> IGNORE;IGNORE;IGNORE;<U064D> %<kasratan_no>
146 <UFE74> IGNORE;IGNORE;IGNORE;<UFE74> %<kasratan_is>
147 <U064C> IGNORE;IGNORE;IGNORE;<U064C> %<dammatan_no>
148 <UFE72> IGNORE;IGNORE;IGNORE;<UFE72> %<dammatan_is>
150 reorder-after <UFE7F>
151 <U0653> IGNORE;IGNORE;IGNORE;<U0653> %<madda_no>
152 <U0654> IGNORE;IGNORE;IGNORE;<U0654> %<hamzaabove_no>
153 <U0655> IGNORE;IGNORE;IGNORE;<U0655> %<hamzabelow_no>
154 <U0670> IGNORE;IGNORE;IGNORE;<U0670> %<supalef_no>
156 % The Persian digits are sorted before the Arabic ones: they are the basic forms.
157 reorder-after <U0660>
158 <U06F0> <0>;<BAS>;<MIN>;IGNORE
159 <U0660> <0>;<PCL>;<MIN>;IGNORE
160 <U06F1> <1>;<BAS>;<MIN>;IGNORE
161 <U0661> <1>;<PCL>;<MIN>;IGNORE
162 <U06F2> <2>;<BAS>;<MIN>;IGNORE
163 <U0662> <2>;<PCL>;<MIN>;IGNORE
164 <U06F3> <3>;<BAS>;<MIN>;IGNORE
165 <U0663> <3>;<PCL>;<MIN>;IGNORE
166 <U06F4> <4>;<BAS>;<MIN>;IGNORE
167 <U0664> <4>;<PCL>;<MIN>;IGNORE
168 <U06F5> <5>;<BAS>;<MIN>;IGNORE
169 <U0665> <5>;<PCL>;<MIN>;IGNORE
170 <U06F6> <6>;<BAS>;<MIN>;IGNORE
171 <U0666> <6>;<PCL>;<MIN>;IGNORE
172 <U06F7> <7>;<BAS>;<MIN>;IGNORE
173 <U0667> <7>;<PCL>;<MIN>;IGNORE
174 <U06F8> <8>;<BAS>;<MIN>;IGNORE
175 <U0668> <8>;<PCL>;<MIN>;IGNORE
176 <U06F9> <9>;<BAS>;<MIN>;IGNORE
177 <U0669> <9>;<PCL>;<MIN>;IGNORE
179 % And then the letters:
180 <U0622> <alefmadda>;<BAS>;<MIN>;IGNORE % Alef With Madda Above
181 <Alef-Madda> <alefmadda>;<BAS>;<MIN>;IGNORE
182 <U0627> <alef>;<BAS>;<MIN>;IGNORE % Alef
183 <U0671> <alef>;<AWO>;<MIN>;IGNORE % Alef Wasla
184 <U0621> <hamza>;<BAS>;<MIN>;IGNORE % Hamza
185 <U0623> <hamza>;<AHA>;<MIN>;IGNORE % Alef With Hamza Above
186 <Alef-Hamza> <hamza>;<AHA>;<MIN>;IGNORE
187 <U0625> <hamza>;<AHS>;<MIN>;IGNORE % Alef With Hamza Below
188 <Alef-HamzaBelow> <hamza>;<AHS>;<MIN>;IGNORE
189 <U0624> <hamza>;<AHW>;<MIN>;IGNORE % Waw With Hamza Above
190 <Waw-Hamza> <hamza>;<AHW>;<MIN>;IGNORE
191 <U0626> <hamza>;<AHY>;<MIN>;IGNORE % Yeh With Hamza Above
192 <FarsiYeh-Hamza> <hamza>;<AHY>;<ALT1>;IGNORE
193 <AlefMaksura-Hamza> <hamza>;<AHY>;<ALT2>;IGNORE
194 <Yeh-Hamza> <hamza>;<AHY>;<MIN>;IGNORE
195 reorder-after <U0642>
196 <U06A9> <kaf>;<BAS>;<MIN>;IGNORE % Keheh
197 <U0643> <kaf>;<PCL>;<MIN>;IGNORE % Kaf
198 reorder-after <U0648>
199 <U0647> <heh>;<BAS>;<MIN>;IGNORE % Heh
200 <U0629> <heh>;<ADO>;<MIN>;IGNORE % Teh Marbuta
201 <U06C0> <heh>;<AHA>;<MIN>;IGNORE % Heh With Yeh Above
202 <U06CC> <yeh>;<BAS>;<MIN>;IGNORE % Farsi Yeh
203 <U0649> <yeh>;<ADL>;<MIN>;IGNORE % Alef Maksura
204 <U064A> <yeh>;<AYE>;<MIN>;IGNORE % Yeh
206 % Finally the letters in Presentation Form:
207 reorder-after <UFE80>
208 <UFE81> <alefmadda>;<BAS>;<AIS>;IGNORE
209 <UFE82> <alefmadda>;<BAS>;<AFI>;IGNORE
210 <UFE8D> <alef>;<BAS>;<AIS>;IGNORE
211 <UFE8E> <alef>;<BAS>;<AFI>;IGNORE
212 <UFB50> <alef>;<AWO>;<AIS>;IGNORE
213 <UFB51> <alef>;<AWO>;<AFI>;IGNORE
214 <UFE80> <hamza>;<BAS>;<AIS>;IGNORE
215 <UFE83> <hamza>;<AHA>;<AIS>;IGNORE
216 <UFE84> <hamza>;<AHA>;<AFI>;IGNORE
217 <UFE87> <hamza>;<AHS>;<AIS>;IGNORE
218 <UFE88> <hamza>;<AHS>;<AFI>;IGNORE
219 <UFE85> <hamza>;<AHW>;<AIS>;IGNORE
220 <UFE86> <hamza>;<AHW>;<AFI>;IGNORE
221 <U0689> <hamza>;<AHY>;<AIS>;IGNORE
222 <U068A> <hamza>;<AHY>;<AFI>;IGNORE
223 reorder-after <UFEAE>
224 <UFDFC> "<reh><yeh><alef><lam>";"<LIG><LIG><LIG><LIG>";"<AII><AME><AFI><AIS>";IGNORE % Rial Sign
225 reorder-after <UFED8>
226 <UFB8E> <kaf>;<BAS>;<AIS>;IGNORE
227 <UFB8F> <kaf>;<BAS>;<AFI>;IGNORE
228 <UFB90> <kaf>;<BAS>;<AII>;IGNORE
229 <UFB91> <kaf>;<BAS>;<AME>;IGNORE
230 <UFED9> <kaf>;<PCL>;<AIS>;IGNORE
231 <UFEDA> <kaf>;<PCL>;<AFI>;IGNORE
232 <UFEDB> <kaf>;<PCL>;<AII>;IGNORE
233 <UFEDC> <kaf>;<PCL>;<AME>;IGNORE
234 reorder-after <UFEEE>
235 <UFEE9> <heh>;<BAS>;<AIS>;IGNORE
236 <UFEEA> <heh>;<BAS>;<AFI>;IGNORE
237 <UFEEB> <heh>;<BAS>;<AII>;IGNORE
238 <UFEEC> <heh>;<BAS>;<AME>;IGNORE
239 <UFE93> <heh>;<ADO>;<AIS>;IGNORE
240 <UFE94> <heh>;<ADO>;<AFI>;IGNORE
241 <UFBA4> <heh>;<AHA>;<AIS>;IGNORE
242 <UFBA5> <heh>;<AHA>;<AFI>;IGNORE
243 <UFBFC> <yeh>;<BAS>;<AIS>;IGNORE
244 <UFBFD> <yeh>;<BAS>;<AFI>;IGNORE
245 <UFBFE> <yeh>;<BAS>;<AII>;IGNORE
246 <UFBFF> <yeh>;<BAS>;<AME>;IGNORE
247 <UFEEF> <yeh>;<ADL>;<AIS>;IGNORE
248 <UFEF0> <yeh>;<ADL>;<AFI>;IGNORE
249 <UFEF1> <yeh>;<AYE>;<AIS>;IGNORE
250 <UFEF2> <yeh>;<AYE>;<AFI>;IGNORE
251 <UFEF3> <yeh>;<AYE>;<AII>;IGNORE
252 <UFEF4> <yeh>;<AYE>;<AME>;IGNORE
253 <UFEF5> "<lam><alefmadda>";"<BAS><BAS>";"<AIS><AFI>";IGNORE
254 <UFEF6> "<lam><alefmadda>";"<BAS><BAS>";"<AFI><AFI>";IGNORE
255 <UFEF7> "<lam><hamza>";"<BAS><AHA>";"<AIS><AFI>";IGNORE
256 <UFEF8> "<lam><hamza>";"<BAS><AHA>";"<AFI><AFI>";IGNORE
257 <UFEF9> "<lam><hamza>";"<BAS><AHS>";"<AIS><AFI>";IGNORE
258 <UFEFA> "<lam><hamza>";"<BAS><AHS>";"<AFI><AFI>";IGNORE
259 <UFEFB> "<lam><alef>";"<BAS><BAS>";"<AIS><AFI>";IGNORE
260 <UFEFC> "<lam><alef>";"<BAS><BAS>";"<AFI><AFI>";IGNORE
266 int_curr_symbol "<U0049><U0052><U0052><U0020>"
267 currency_symbol "<U0631><U06CC><U0627><U0644>"
268 mon_decimal_point "<U066B>"
269 mon_thousands_sep "<U066C>"
272 negative_sign "<U002D>"
275 % The following positioning is based on Unicode 3.0 bidirectional algorithm,
276 % with a "base direction" of right-to-left.
283 % The following positioning is based on Unicode 3.0 bidirectional algorithm,
284 % with a "base direction" of left-to-right.
294 decimal_point "<U002E>"
295 thousands_sep "<U002C>"
300 % Alternative digits are used for Persian numerals in date and time. This is
301 % a hack, until a new prefix is defined for alternative digits.
302 alt_digits "<U06F0><U06F0>";"<U06F0><U06F1>";/
303 "<U06F0><U06F2>";"<U06F0><U06F3>";/
304 "<U06F0><U06F4>";"<U06F0><U06F5>";/
305 "<U06F0><U06F6>";"<U06F0><U06F7>";/
306 "<U06F0><U06F8>";"<U06F0><U06F9>";/
307 "<U06F1><U06F0>";"<U06F1><U06F1>";/
308 "<U06F1><U06F2>";"<U06F1><U06F3>";/
309 "<U06F1><U06F4>";"<U06F1><U06F5>";/
310 "<U06F1><U06F6>";"<U06F1><U06F7>";/
311 "<U06F1><U06F8>";"<U06F1><U06F9>";/
312 "<U06F2><U06F0>";"<U06F2><U06F1>";/
313 "<U06F2><U06F2>";"<U06F2><U06F3>";/
314 "<U06F2><U06F4>";"<U06F2><U06F5>";/
315 "<U06F2><U06F6>";"<U06F2><U06F7>";/
316 "<U06F2><U06F8>";"<U06F2><U06F9>";/
317 "<U06F3><U06F0>";"<U06F3><U06F1>";/
318 "<U06F3><U06F2>";"<U06F3><U06F3>";/
319 "<U06F3><U06F4>";"<U06F3><U06F5>";/
320 "<U06F3><U06F6>";"<U06F3><U06F7>";/
321 "<U06F3><U06F8>";"<U06F3><U06F9>";/
322 "<U06F4><U06F0>";"<U06F4><U06F1>";/
323 "<U06F4><U06F2>";"<U06F4><U06F3>";/
324 "<U06F4><U06F4>";"<U06F4><U06F5>";/
325 "<U06F4><U06F6>";"<U06F4><U06F7>";/
326 "<U06F4><U06F8>";"<U06F4><U06F9>";/
327 "<U06F5><U06F0>";"<U06F5><U06F1>";/
328 "<U06F5><U06F2>";"<U06F5><U06F3>";/
329 "<U06F5><U06F4>";"<U06F5><U06F5>";/
330 "<U06F5><U06F6>";"<U06F5><U06F7>";/
331 "<U06F5><U06F8>";"<U06F5><U06F9>";/
332 "<U06F6><U06F0>";"<U06F6><U06F1>";/
333 "<U06F6><U06F2>";"<U06F6><U06F3>";/
334 "<U06F6><U06F4>";"<U06F6><U06F5>";/
335 "<U06F6><U06F6>";"<U06F6><U06F7>";/
336 "<U06F6><U06F8>";"<U06F6><U06F9>";/
337 "<U06F7><U06F0>";"<U06F7><U06F1>";/
338 "<U06F7><U06F2>";"<U06F7><U06F3>";/
339 "<U06F7><U06F4>";"<U06F7><U06F5>";/
340 "<U06F7><U06F6>";"<U06F7><U06F7>";/
341 "<U06F7><U06F8>";"<U06F7><U06F9>";/
342 "<U06F8><U06F0>";"<U06F8><U06F1>";/
343 "<U06F8><U06F2>";"<U06F8><U06F3>";/
344 "<U06F8><U06F4>";"<U06F8><U06F5>";/
345 "<U06F8><U06F6>";"<U06F8><U06F7>";/
346 "<U06F8><U06F8>";"<U06F8><U06F9>";/
347 "<U06F9><U06F0>";"<U06F9><U06F1>";/
348 "<U06F9><U06F2>";"<U06F9><U06F3>";/
349 "<U06F9><U06F4>";"<U06F9><U06F5>";/
350 "<U06F9><U06F6>";"<U06F9><U06F7>";/
351 "<U06F9><U06F8>";"<U06F9><U06F9>"
352 % Persian doesn't have abbreviations for weekdays and month names, so
353 % "abday" is the same as "day" and "abmon" is the same as "mon"
354 abday "<U06CC><U06A9><U0634><U0646><U0628><U0647>";/
355 "<U062F><U0648><U0634><U0646><U0628><U0647>";/
356 "<U0633><U0647><U200C><U0634><U0646><U0628><U0647>";/
357 "<U0686><U0647><U0627><U0631><U0634><U0646><U0628><U0647>";/
358 "<U067E><U0646><U062C><U0634><U0646><U0628><U0647>";/
359 "<U062C><U0645><U0639><U0647>";/
360 "<U0634><U0646><U0628><U0647>"
361 day "<U06CC><U06A9><U0634><U0646><U0628><U0647>";/
362 "<U062F><U0648><U0634><U0646><U0628><U0647>";/
363 "<U0633><U0647><U200C><U0634><U0646><U0628><U0647>";/
364 "<U0686><U0647><U0627><U0631><U0634><U0646><U0628><U0647>";/
365 "<U067E><U0646><U062C><U0634><U0646><U0628><U0647>";/
366 "<U062C><U0645><U0639><U0647>";/
367 "<U0634><U0646><U0628><U0647>"
368 mon "<U0698><U0627><U0646><U0648><U06CC><U0647>";/
369 "<U0641><U0648><U0631><U06CC><U0647>";/
370 "<U0645><U0627><U0631><U0633>";/
371 "<U0622><U0648><U0631><U06CC><U0644>";/
373 "<U0698><U0648><U0626><U0646>";/
374 "<U0698><U0648><U0626><U06CC><U0647>";/
375 "<U0627><U0648><U062A>";/
376 "<U0633><U067E><U062A><U0627><U0645><U0628><U0631>";/
377 "<U0627><U0643><U062A><U0628><U0631>";/
378 "<U0646><U0648><U0627><U0645><U0628><U0631>";/
379 "<U062F><U0633><U0627><U0645><U0628><U0631>"
380 abmon "<U0698><U0627><U0646><U0648><U06CC><U0647>";/
381 "<U0641><U0648><U0631><U06CC><U0647>";/
382 "<U0645><U0627><U0631><U0633>";/
383 "<U0622><U0648><U0631><U06CC><U0644>";/
385 "<U0698><U0648><U0626><U0646>";/
386 "<U0698><U0648><U0626><U06CC><U0647>";/
387 "<U0627><U0648><U062A>";/
388 "<U0633><U067E><U062A><U0627><U0645><U0628><U0631>";/
389 "<U0627><U0643><U062A><U0628><U0631>";/
390 "<U0646><U0648><U0627><U0645><U0628><U0631>";/
391 "<U062F><U0633><U0627><U0645><U0628><U0631>"
392 % Persian does not have the 12-hour format
396 % Appropriate date representation (%x)
398 d_fmt "<U0025><U004F><U0079><U002F>/
399 <U0025><U004F><U006D><U002F>/
400 <U0025><U004F><U0064>"
402 % Appropriate time representation (%X)
404 t_fmt "<U0025><U004F><U0048><U003A>/
405 <U0025><U004F><U004D><U003A>/
406 <U0025><U004F><U0053>"
408 % FIXME: need to add "HAMZA ABOVE" after January, February, May, July when used
411 % Appropriate date and time representation (%c)
412 % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> %OH:%OM:%OS<PDF>"
413 d_t_fmt "<U202B><U0025><U0041><U0020>/
414 <U0025><U004F><U0065><U0020>/
415 <U0025><U0042><U0020>/
416 <U0025><U004F><U0079><U060C><U0020>/
417 <U0025><U004F><U0048><U003A>/
418 <U0025><U004F><U004D><U003A>/
419 <U0025><U004F><U0053><U202C>"
421 % Appropriate date representation (date(1))
422 % "<RLE>%A %Oe %B %Oy<ARABIC COMMA> <SEEN><ALEF><AIN><TEH> %OH:%OM:%OS (%Z)<PDF>"
423 date_fmt "<U202B><U0025><U0041><U0020>/
424 <U0025><U004F><U0065><U0020>/
425 <U0025><U0042><U0020>/
426 <U0025><U004F><U0079><U060C><U0020>/
427 <U0633><U0627><U0639><U062A><U0020>/
428 <U0025><U004F><U0048><U003A>/
429 <U0025><U004F><U004D><U003A>/
430 <U0025><U004F><U0053><U0020>/
431 <U0028><U0025><U005A><U0029><U202C>"
438 % This is "^[yY<ALEF MADDA><BEH>Hf].*"
439 yesexpr "<U005E><U005B><U0079><U0059><U0622><U0628><U0048><U0066><U005D><U002E><U002A>"
440 % This is "^[nN<KHAH><NOON>ok].*"
441 noexpr "<U005E><U005B><U006E><U004E><U062E><U0646><U006F><U006B><U005D><U002E><U002A>"
451 name_miss "<U062E><U0627><U0646><U0645>"
452 name_ms "<U062E><U0627><U0646><U0645>"
453 name_mrs "<U062E><U0627><U0646><U0645>"
454 name_mr "<U0622><U0642><U0627><U06CC>"
455 name_fmt "<U0025><U0064><U0025><U0074><U0025><U0073><U0025><U0074>/
456 <U0025><U0067><U0025><U0074><U0025><U006D><U0025><U0074><U0025><U0066>"
460 postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
461 <U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
462 <U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
463 <U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
464 <U004E><U0025><U0063><U0025><U004E>"
465 country_name "<U0627><U06CC><U0631><U0627><U0646>"
466 country_ab2 "<U0049><U0052>"
467 country_ab3 "<U0049><U0052><U004E>"
469 country_car "<U0049><U0052>"
470 country_isbn "<U0039><U0036><U0034>"
471 lang_name "<U0641><U0627><U0631><U0633><U06CC>"
472 lang_ab "<U0066><U0061>"
473 lang_term "<U0066><U0061><U0073>"
474 lang_lib "<U0070><U0065><U0072>"
478 tel_int_fmt "<U202A><U002B><U0025><U0063><U0020><U0025><U0061><U0020>/
479 <U0025><U006C><U202C>"
480 tel_dom_fmt "<U202A><U0025><U0041><U2012><U0025><U006C><U202C>"
481 int_select "<U0030><U0030>"
482 int_prefix "<U0039><U0038>"