locale: Add Farsi/Persian locales

MFC after:	3 weeks
Reviewed by:	farrokhi
Differential Revision:	https://reviews.freebsd.org/D24359
This commit is contained in:
Faraz Vahedi 2021-07-23 16:52:45 +02:00 committed by Baptiste Daroussin
parent 3a04284df0
commit bd90d8bbb1
16 changed files with 4099 additions and 6 deletions

View File

@ -27,6 +27,8 @@ LOCALES+= el_GR.UTF-8
LOCALES+= en_US.UTF-8
LOCALES+= es_MX.UTF-8
LOCALES+= et_EE.UTF-8
LOCALES+= fa_AF.UTF-8
LOCALES+= fa_IR.UTF-8
LOCALES+= fi_FI.UTF-8
LOCALES+= fr_CA.UTF-8
LOCALES+= he_IL.UTF-8

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -81,6 +81,8 @@ SAME+= C.UTF-8 hr_HR.UTF-8
SAME+= C.UTF-8 hi_IN.UTF-8
SAME+= C.UTF-8 he_IL.UTF-8
SAME+= C.UTF-8 ga_IE.UTF-8
SAME+= C.UTF-8 fa_AF.UTF-8
SAME+= C.UTF-8 fa_IR.UTF-8
SAME+= C.UTF-8 fr_FR.UTF-8
SAME+= C.UTF-8 fr_CH.UTF-8
SAME+= C.UTF-8 fr_CA.UTF-8

View File

@ -32,6 +32,8 @@ LOCALES+= en_ZA.UTF-8
LOCALES+= es_AR.UTF-8
LOCALES+= es_CR.UTF-8
LOCALES+= es_MX.UTF-8
LOCALES+= fa_AF.UTF-8
LOCALES+= fa_IR.UTF-8
LOCALES+= fr_CA.UTF-8
LOCALES+= fr_CH.UTF-8
LOCALES+= fr_FR.UTF-8

View File

@ -0,0 +1,50 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale. The data is obtained from the
# CLDR project, obtained from http://cldr.unicode.org/
# -----------------------------------------------------------------------------
#
# int_curr_symbol (last character always SPACE)
AFN
#
# currency_symbol
؋
#
# mon_decimal_point
٫
#
# mon_thousands_sep
٬
#
# mon_grouping
3
#
# positive_sign
#
# negative_sign
#
# int_frac_digits
0
#
# frac_digits
0
#
# p_cs_precedes
1
#
# p_sep_by_space
1
#
# n_cs_precedes
1
#
# n_sep_by_space
1
#
# p_sign_posn
1
#
# n_sign_posn
1
# EOF

View File

@ -0,0 +1,50 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale. The data is obtained from the
# CLDR project, obtained from http://cldr.unicode.org/
# -----------------------------------------------------------------------------
#
# int_curr_symbol (last character always SPACE)
IRR
#
# currency_symbol
ریال
#
# mon_decimal_point
٫
#
# mon_thousands_sep
٬
#
# mon_grouping
3
#
# positive_sign
#
# negative_sign
#
# int_frac_digits
0
#
# frac_digits
0
#
# p_cs_precedes
1
#
# p_sep_by_space
1
#
# n_cs_precedes
1
#
# n_sep_by_space
1
#
# p_sign_posn
1
#
# n_sign_posn
1
# EOF

View File

@ -19,6 +19,7 @@ LOCALES+= en_US.UTF-8
LOCALES+= es_MX.UTF-8
LOCALES+= et_EE.UTF-8
LOCALES+= eu_ES.UTF-8
LOCALES+= fa_IR.UTF-8
LOCALES+= fi_FI.UTF-8
LOCALES+= fr_FR.UTF-8
LOCALES+= ga_IE.UTF-8
@ -81,6 +82,7 @@ SAME+= en_US.UTF-8 en_HK.UTF-8
SAME+= en_US.UTF-8 en_GB.UTF-8
SAME+= en_US.UTF-8 en_CA.UTF-8
SAME+= en_US.UTF-8 en_AU.UTF-8
SAME+= fa_IR.UTF-8 fa_AF.UTF-8
SAME+= fr_FR.UTF-8 fr_CH.UTF-8
SAME+= fr_FR.UTF-8 fr_CA.UTF-8
SAME+= fr_FR.UTF-8 fr_BE.UTF-8

View File

@ -0,0 +1,17 @@
# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale. The data is obtained from the
# CLDR project, obtained from http://cldr.unicode.org/
# -----------------------------------------------------------------------------
#
# yesexpr
^((بله)|(ب)|(آری)|(آ)|([yY]([eE][sS])?)|([yY]))
#
# noexpr
^((نه)|(ن)|(خیر)|(خ)|([nN]([oO])?)|([nN]))
#
# yesstr
بله:ب:آری:آ:yes:y:YES:Y
#
# nostr
نه:ن:خیر:خ:no:n:NO:N
# EOF

View File

@ -9,8 +9,8 @@ FILESNAME= LC_NUMERIC
.src.out:
grep -v -E '^(#$$|#[ ])' < ${.IMPSRC} > ${.TARGET}
LOCALES+= ar_SA.UTF-8
LOCALES+= en_US.UTF-8
LOCALES+= fa_IR.UTF-8
LOCALES+= fr_FR.UTF-8
LOCALES+= hi_IN.UTF-8
LOCALES+= it_CH.UTF-8
@ -62,10 +62,12 @@ SAME+= en_US.UTF-8 en_GB.UTF-8
SAME+= en_US.UTF-8 en_CA.UTF-8
SAME+= en_US.UTF-8 en_AU.UTF-8
SAME+= en_US.UTF-8 am_ET.UTF-8
SAME+= ar_SA.UTF-8 ar_QA.UTF-8
SAME+= ar_SA.UTF-8 ar_JO.UTF-8
SAME+= ar_SA.UTF-8 ar_EG.UTF-8
SAME+= ar_SA.UTF-8 ar_AE.UTF-8
SAME+= fa_IR.UTF-8 fa_AF.UTF-8
SAME+= fa_IR.UTF-8 ar_SA.UTF-8
SAME+= fa_IR.UTF-8 ar_QA.UTF-8
SAME+= fa_IR.UTF-8 ar_JO.UTF-8
SAME+= fa_IR.UTF-8 ar_EG.UTF-8
SAME+= fa_IR.UTF-8 ar_AE.UTF-8
SAME+= tr_TR.UTF-8 sr_RS.UTF-8@latin
SAME+= tr_TR.UTF-8 sr_RS.UTF-8
SAME+= tr_TR.UTF-8 sl_SI.UTF-8

View File

@ -46,6 +46,8 @@ LOCALES+= es_MX.UTF-8
LOCALES+= et_EE.ISO8859-15
LOCALES+= et_EE.UTF-8
LOCALES+= eu_ES.UTF-8
LOCALES+= fa_AF.UTF-8
LOCALES+= fa_IR.UTF-8
LOCALES+= fi_FI.ISO8859-15
LOCALES+= fi_FI.UTF-8
LOCALES+= fr_BE.ISO8859-15

View File

@ -0,0 +1,83 @@
#
# Short month names
جنو
فبروری
مارچ
اپریل
می
جون
جول
اگست
سپتمبر
اکتوبر
نومبر
دسم
#
# Long month names (as in a date)
جنوری
فبروری
مارچ
اپریل
می
جون
جولای
اگست
سپتمبر
اکتوبر
نومبر
دسمبر
#
# Short weekday names
یکشنبه
دوشنبه
سه‌شنبه
چهارشنبه
پنجشنبه
جمعه
شنبه
#
# Long weekday names
یکشنبه
دوشنبه
سه‌شنبه
چهارشنبه
پنجشنبه
جمعه
شنبه
#
# X_fmt
%OH:%OM:%OS
#
# x_fmt
%Oy/%Om/%Oe
#
# c_fmt
%Oe %B %Oy، ساعت %OH:%OM:%OS (%Z)
#
# AM/PM
قبل‌ازظهر
بعدازظهر
#
# date_fmt
%Oe %B %Oy، ساعت %OH:%OM:%OS (%Z)
#
# Long month names (without case ending)
جنوری
فبروری
مارچ
اپریل
می
جون
جولای
اگست
سپتمبر
اکتوبر
نومبر
دسمبر
#
# md_order
md
#
# ampm_fmt
%OI:%OM:%OS %p
# EOF

View File

@ -0,0 +1,83 @@
#
# Short month names
ژانویهٔ
فوریهٔ
مارس
آوریل
مهٔ
ژوئن
ژوئیهٔ
اوت
سپتامبر
اکتبر
نوامبر
دسامبر
#
# Long month names (as in a date)
ژانویهٔ
فوریهٔ
مارس
آوریل
مهٔ
ژوئن
ژوئیهٔ
اوت
سپتامبر
اکتبر
نوامبر
دسامبر
#
# Short weekday names
یکشنبه
دوشنبه
سه‌شنبه
چهارشنبه
پنجشنبه
جمعه
شنبه
#
# Long weekday names
یکشنبه
دوشنبه
سه‌شنبه
چهارشنبه
پنجشنبه
جمعه
شنبه
#
# X_fmt
%OH:%OM:%OS
#
# x_fmt
%Oy/%Om/%Oe
#
# c_fmt
%Oe %B %Oy، ساعت %OH:%OM:%OS (%Z)
#
# AM/PM
قبل‌ازظهر
بعدازظهر
#
# date_fmt
%Oe %B %Oy، ساعت %OH:%OM:%OS (%Z)
#
# Long month names (without case ending)
ژانویهٔ
فوریهٔ
مارس
آوریل
مهٔ
ژوئن
ژوئیهٔ
اوت
سپتامبر
اکتبر
نوامبر
دسامبر
#
# md_order
md
#
# ampm_fmt
%OI:%OM:%OS %p
# EOF

View File

@ -107,7 +107,7 @@ BASE_LOCALES_OF_INTEREST?= \
be_BY bg_BG ca_AD ca_ES ca_FR ca_IT \
cs_CZ da_DK de_AT de_CH de_DE el_GR en_AU en_CA \
en_GB en_HK en_IE en_NZ en_PH en_SG en_US en_ZA \
es_AR es_CR es_ES es_MX et_EE eu_ES fi_FI fr_BE \
es_AR es_CR es_ES es_MX et_EE eu_ES fa_AF fa_IR fi_FI fr_BE \
fr_CA fr_CH fr_FR ga_IE he_IL hi_IN hr_HR hu_HU hy_AM \
is_IS it_CH it_IT ja_JP ko_KR lt_LT lv_LV \
nb_NO nl_BE nl_NL nn_NO pl_PL pt_BR pt_PT ro_RO \

View File

@ -68,6 +68,8 @@
countries="EE" />
<language name="eu"
countries="ES" />
<language name="fa"
countries="AF IR" />
<language name="fi"
countries="FI" />
<language name="fr"