Skip to content

Commit e322ef4

Browse files
Create laravel persian language files
0 parents  commit e322ef4

File tree

6 files changed

+284
-0
lines changed

6 files changed

+284
-0
lines changed

composer.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "abolfazl-talebi/laravel6-persian-lang",
3+
"description": "Persian Languages for Laravel 6",
4+
"keywords": [
5+
"laravel",
6+
"languages",
7+
"lpm",
8+
"lang",
9+
"persian"
10+
],
11+
"license": "MIT",
12+
"authors": [
13+
{
14+
"name": "Abolfazl Talebi",
15+
"email": "[email protected]"
16+
}
17+
]
18+
}

fa/auth.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
| Translated By : LaravelForum.ir Abolfazl Talebi
14+
*/
15+
16+
'failed' => 'مجوز ورود شما مسدود میباشد و دارای اعتبار نیست',
17+
'throttle' => 'تعداد دفعات درخواست ورود بیشتر از حد مجاز است.لطفا :seconds ثانیه بعد مجدد تلاش کنید',
18+
19+
];

fa/pagination.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the simple pagination links. You are free to change them to anything
12+
| you want to customize your views to better match your application.
13+
| Translated By : LaravelForum.ir Abolfazl Talebi
14+
*/
15+
16+
'previous' => '&laquo; قبلی',
17+
18+
'next' => 'بعدی &raquo;',
19+
20+
);

fa/passwords.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reset Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
| Translated By : LaravelForum.ir Abolfazl Talebi
14+
*/
15+
16+
'reset' => 'رمز عبور شما بازیابی شد!',
17+
'sent' => 'لینک بازیابی رمز عبور به ایمیل شما ارسال شد!',
18+
"token" => "توکن مربوط به بازیابی رمز عبور اشتباه است",
19+
"user" => "کاربری با این ایمیل آدرس یافت نشد.",
20+
21+
];

fa/reminders.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reminder Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
| Translated By : LaravelForum.ir Abolfazl Talebi
14+
*/
15+
16+
"password" => "رمز عبور باید حداقل هشت کاراکتر و مطابقت داشته باشد.",
17+
"user" => "کاربری با این ایمیل آدرس یافت نشد.",
18+
"token" => "توکن مربوط به بازیابی رمز عبور اشتباه است",
19+
"sent" => "لینک بازیابی رمز به ایمیل شما ارسال شد",
20+
"reset" => "رمز عبور بازیابی شد!",
21+
22+
);

fa/validation.php

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used by
11+
| the validator class. Some of these rules have multiple versions such
12+
| as the size rules. Feel free to tweak each of these messages here.
13+
| Translated By : LaravelForum.ir Abolfazl Talebi
14+
*/
15+
16+
'accepted' => ':attribute باید تایید شود.',
17+
'active_url' => ':attribute لینک وارد شده معتبر نیست.',
18+
'after' => ':attribute تاریخ باید بعد از :date باشد',
19+
'after_or_equal' => ':attribute تاریخ باید بعد یا مساوی با :date باشد.',
20+
'alpha' => ':attribute فقط حروف مجاز است.',
21+
'alpha_dash' => ':attribute فقط حروف ، اعداد ، خط تیره مانند - و _ مجاز است',
22+
'alpha_num' => ':attribute فقط حروف و اعداد مجاز است..',
23+
'array' => ':attribute فقط آرایه مجاز است.',
24+
'before' => ':attribute باید تاریخ قبل از :date باشد.',
25+
'before_or_equal' => ':attribute باید تاریخ قبل یا مساوی با :date باشد',
26+
'between' => [
27+
'numeric' => ':attribute باید مابین :min و :max باشد',
28+
'file' => ':attribute باید مابین :min و :max کیلوبایت باشد.',
29+
'string' => ':attribute باید مابین :min و :max کاراکتر باشد.',
30+
'array' => ':attribute باید مابین :min و :max آیتم باشد.',
31+
],
32+
'boolean' => ':attribute فیلد باید true یا false باشد.',
33+
'confirmed' => ':attribute فیلد تایید یکسان نیست.',
34+
'date' => ':attribute تاریخ معتبر وارد نشده است.',
35+
'date_equals' => ':attribute باید تاریخ یکسان با :date وارد شود',
36+
'date_format' => ':attribute فرمت باید به شکل :format وارد شود',
37+
'different' => 'مقدار :attribute و :other باید متفاوت باشند.',
38+
'digits' => ':attribute باید :digits رقم باشد.',
39+
'digits_between' => ':attribute باید مابین :min و :max رقم باشد.',
40+
'dimensions' => ':attribute طول و عرض تصویر معتبر نیست.',
41+
'distinct' => ':attribute دارای مقدار تکراری است.',
42+
'email' => ':attribute ایمیل آدرس معتبر نیست.',
43+
'ends_with' => ':attribute آخرین مقدار باید شامل این موارد باشد: :values',
44+
'exists' => ':attribute مورد انتخاب شده معتبر نیست.',
45+
'file' => ':attribute باید یک فایل انتخاب شود.',
46+
'filled' => ':attribute باید یک مقدار وارد شود.',
47+
'gt' => [
48+
'numeric' => ':attribute باید بزرگتر از :value باشد',
49+
'file' => ':attribute باید بزرگتر از :value کیلوبایت باشد.',
50+
'string' => ':attribute باید بیشتر از :value کاراکتر باشد.',
51+
'array' => ':attribute باید بیشتر از :value آیتم باشد.',
52+
],
53+
'gte' => [
54+
'numeric' => ':attribute باید بزگتر یا مساوی با :value باشد',
55+
'file' => ':attribute باید بزرگتر یا مساوی با :value کیلوبایت باشد.',
56+
'string' => ':attribute باید بیشتر یا مساوی با :value کاراکتر باشد.',
57+
'array' => ':attribute باید حداقل :value آیتم یا بیشتر باشد.',
58+
],
59+
'image' => ':attribute باید یک تصویر انتخاب شود.',
60+
'in' => ':attribute معتبر نیست.',
61+
'in_array' => ':attribute فیلد در :other موجود نیست',
62+
'integer' => ':attribute باید عدد وارد شود.',
63+
'ip' => ':attribute باید IP آدرس معتبر وارد شود.',
64+
'ipv4' => ':attribute باید IP آدرس وارد شده IPv4 باشد.',
65+
'ipv6' => ':attribute باید IP آدرس وارد شده IPv6 باشد.',
66+
'json' => ':attribute باید مقدار وارد شده JSON باشد.',
67+
'lt' => [
68+
'numeric' => ':attribute باید کمتر از :value وارد شود',
69+
'file' => ':attribute باید کمتر از :value کیلوبایت باشد.',
70+
'string' => ':attribute باید کمتر از :value کارکتر باشد.',
71+
'array' => ':attribute باید کمتر از :value آیتم باشد.',
72+
],
73+
'lte' => [
74+
'numeric' => ':attribute باید کمتر یا مساوی با :value باشد',
75+
'file' => ':attribute باید کمتر یا مساوی با :value کیلوبایت باشد.',
76+
'string' => ':attribute باید کمتر یا مساوی با :value کارکتر باشد.',
77+
'array' => ':attribute باید کمتر یا مساوی با :value آیتم باشد.',
78+
],
79+
'max' => [
80+
'numeric' => ':attribute نباید بزگتر از :max باشد',
81+
'file' => ':attribute نباید بزگتر از :max کیلوبایت باشد.',
82+
'string' => ':attribute نباید بیشتر از :max کارکتر باشد.',
83+
'array' => ':attribute نباید بیشتر از :max آیتم باشد.',
84+
],
85+
'mimes' => ':attribute پسوند و نوع فایل باید: :values باشد',
86+
'mimetypes' => ':attribute پسوند و نوع فایل باید: :values باشد',
87+
'min' => [
88+
'numeric' => ':attribute حداقل باید :min باشد',
89+
'file' => ':attribute حداقل باید :min کیلوبایت باشد.',
90+
'string' => ':attribute حداقل باید :min کارکتر باشد.',
91+
'array' => ':attribute حداقل باید :min آیتم باشد.',
92+
],
93+
'not_in' => ':attribute معتبر نیست.',
94+
'not_regex' => ':attribute فرمت وارد شده معتبر نیست.',
95+
'numeric' => ':attribute باید یک عدد باشد.',
96+
'present' => ':attribute باید موجودیت داشته باشد.',
97+
'regex' => ':attribute فرمت قابل قبول نیست.',
98+
'required' => 'فیلد :attribute اجباری است.',
99+
'required_if' => 'فیلد :attribute اجباری است در صورتی که :other برابر با :value باشد',
100+
'required_unless' => 'فیلد :attribute اجباری است مگر اینکه :other برابر با :values باشد',
101+
'required_with' => 'فیلد :attribute اجباری است وقتی که :values موجود باشد.',
102+
'required_with_all' => 'فیلد :attribute اجباری است اگر :values موجود باشد.',
103+
'required_without' => 'فیلد :attribute اجباری است وقتی که :values موجود نباشد.',
104+
'required_without_all' => 'فیلد :attribute اجباری است اگر هیچ یک از :values موجود نباشد.',
105+
'same' => ':attribute و :other باید یکسان باشند.',
106+
'size' => [
107+
'numeric' => ':attribute باید :size باشد',
108+
'file' => ':attribute باید :size کیلوبایت باشد.',
109+
'string' => ':attribute باید :size کاراکتر باشد.',
110+
'array' => ':attribute باید شامل :size آیتم باشد.',
111+
],
112+
'starts_with' => ':attribute باید با یکی از این موارد آغاز شده باشد: :values',
113+
'string' => ':attribute باید حروف باشد.',
114+
'timezone' => ':attribute زمان باید معتبر باشد.',
115+
'unique' => ':attribute این مقدار قبلا ثبت شده و تکراری است.',
116+
'uploaded' => ':attribute آپلود دچار اشکال شده است.',
117+
'url' => ':attribute فرمت قابل قبول نمیباشد.',
118+
'uuid' => ':attribute باید مقدار UUID معتبر باشد',
119+
120+
/*
121+
|--------------------------------------------------------------------------
122+
| Custom Validation Language Lines
123+
|--------------------------------------------------------------------------
124+
|
125+
| Here you may specify custom validation messages for attributes using the
126+
| convention "attribute.rule" to name the lines. This makes it quick to
127+
| specify a specific custom language line for a given attribute rule.
128+
|
129+
*/
130+
131+
'custom' => [
132+
'attribute-name' => [
133+
'rule-name' => 'custom-message',
134+
],
135+
],
136+
137+
/*
138+
|--------------------------------------------------------------------------
139+
| Custom Validation Attributes
140+
|--------------------------------------------------------------------------
141+
|
142+
| The following language lines are used to swap our attribute placeholder
143+
| with something more reader friendly such as "E-Mail Address" instead
144+
| of "email". This simply helps us make our message more expressive.
145+
|
146+
*/
147+
148+
'attributes' => [
149+
"name" => "نام",
150+
"username" => "نام کاربری",
151+
"email" => "آدرس ایمیل",
152+
"first_name" => "نام",
153+
"last_name" => "نام خانوادگی",
154+
"family" => "نام خانوادگی",
155+
"password" => "رمز عبور",
156+
"password_confirmation" => "تاییدیه ی رمز عبور",
157+
"city" => "شهر",
158+
"country" => "کشور",
159+
"address" => "نشانی",
160+
"phone" => "تلفن",
161+
"mobile" => "تلفن همراه",
162+
"codemelli" => "کدملی",
163+
"age" => "سن",
164+
"sex" => "جنسیت",
165+
"gender" => "جنسیت",
166+
"day" => "روز",
167+
"month" => "ماه",
168+
"year" => "سال",
169+
"hour" => "ساعت",
170+
"minute" => "دقیقه",
171+
"second" => "ثانیه",
172+
"title" => "عنوان",
173+
"text" => "متن",
174+
"content" => "محتوا",
175+
"description" => "توضیحات",
176+
"excerpt" => "گلچین کردن",
177+
"date" => "تاریخ",
178+
"time" => "زمان",
179+
"available" => "موجود",
180+
"notavailable" => "موجود نیست",
181+
"size" => "اندازه"
182+
],
183+
184+
];

0 commit comments

Comments
 (0)