You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,8 @@
135
135
136
136
8 July 2014
137
137
138
-
* Update Chinese from Taiwan for validation.boolean by [Joy](https://github.com/joychao)
139
-
* Update Traditional Chinese (Hong Kong) (zh-HK) and Chinese (zh-CN) for validation.boolean and validation.exists by [Joy](https://github.com/joychao)
138
+
* Update Chinese from Taiwan for validation.boolean by [Carlos](https://github.com/overtrue)
139
+
* Update Traditional Chinese (Hong Kong) (zh-HK) and Chinese (zh-CN) for validation.boolean and validation.exists by [Carlos](https://github.com/overtrue)
140
140
141
141
27 June 2014
142
142
@@ -197,9 +197,9 @@
197
197
198
198
07 April 2014
199
199
200
-
* Update Chinese (zh-CN) by [Joy](https://github.com/joychao)
201
-
* Update Chinese from Hong Kong (zh-HK) by [Joy](https://github.com/joychao)
202
-
* Add Chinese from Taiwan (zh-TW) by [Joy](https://github.com/joychao)
200
+
* Update Chinese (zh-CN) by [Carlos](https://github.com/overtrue)
201
+
* Update Chinese from Hong Kong (zh-HK) by [Carlos](https://github.com/overtrue)
202
+
* Add Chinese from Taiwan (zh-TW) by [Carlos](https://github.com/overtrue)
203
203
* Update Japanese (ja) for validation by [Yuya Takahashi](https://github.com/takahashiyuya)
In this repository, you can find the lang files for the framework PHP, [Laravel 4&5](http://www.laravel.com).
5
5
6
-
Laravel 5.0
7
6
---
8
7
9
-
The files of languages have been updated for Laravel 5, in `laravel5` branch.
8
+
## Update 29 March
10
9
11
-
* array for PHP 5.4+
12
-
* validation.filled, with same translation than validation.required
13
-
**reminders* file is now *languages* file
10
+
The project changes its name, but not yet its Composer package's name.
11
+
You must choose the number of version of this project in your composer.json.
14
12
15
-
In `passwords` file [#323](https://github.com/caouecs/Laravel4-lang/issues/323) :
16
13
17
-
"sent" => "We have e-mailed your password reset link!"
18
-
"reset" => "Your password has been reset!"
14
+
---
15
+
16
+
How add languages in my app ?
17
+
---
18
+
19
+
### Installation by GitHub
20
+
21
+
* Clone the [GitHub repository](https://github.com/caouecs/laravel-lang/) : *git clone https://github.com/caouecs/Laravel-lang.git*
22
+
* Or download the [zip file](https://github.com/caouecs/laravel-lang/archive/master.zip)
23
+
* Choose the branch:
24
+
*`laravel4` for Laravel4 project
25
+
*`master` for Laravel5 project
26
+
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
27
+
28
+
29
+
### Installation by Composer
30
+
31
+
* For Laravel 4 : add `"caouecs/laravel4-lang": "~1.0"` in your `composer.json` in "require" or run *composer require caouecs/laravel4-lang*
32
+
* For Laravel 5 : add `"caouecs/laravel4-lang": "~2.0"` in your `composer.json` in "require"
33
+
* Do "composer update"
34
+
* Files of languages are in "vendor/caouecs/laravel4-lang" directory
35
+
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
36
+
37
+
### Installation by Command
38
+
39
+
If you have a Laravel5 project, you can use `laravel-lang` project of overtrue : *composer require "overtrue/laravel-lang:dev-master"*
40
+
41
+
### Language by default in your app
42
+
43
+
In the file *app/config/app.php*, change the value of *language* by the short name of your language.
44
+
45
+
---
46
+
47
+
How can I add a language in this project ?
48
+
---
49
+
50
+
* fork this repository
51
+
* create a directory with the short name of the language (ex: fr for French) from ISO-639-1 ( see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
52
+
* copy this three files of the english version with your translate
53
+
* for [Laravel](https://github.com/laravel/laravel/tree/master/app/lang/en)
54
+
* add a pull request with the name of the language
55
+
56
+
57
+
How can I fix a file ?
58
+
---
59
+
60
+
* fork this repository
61
+
* update the file
62
+
* add a pull request with the name of the language
63
+
64
+
The files for Laravel 4 are in `laravel4` branch, and for Laravel 5, are in `master` branch.
65
+
19
66
20
67
Laravel 4.0
21
68
---
22
69
23
70
We need your help to finish to translate `validation.php` file with array elements.
24
71
25
-
You can follow translations in the issue [#73](https://github.com/caouecs/Laravel4-lang/issues/73).
72
+
You can follow translations in the issue [#73](https://github.com/caouecs/laravel-lang/issues/73).
26
73
27
74
Laravel 4.1
28
75
---
@@ -33,31 +80,31 @@ To be ready for the new version of Laravel, we need your help. In `reminders.php
33
80
34
81
"sent" => "Password reminder sent!",
35
82
36
-
You can follow translations in the issue [#137](https://github.com/caouecs/Laravel4-lang/issues/137).
83
+
You can follow translations in the issue [#137](https://github.com/caouecs/laravel-lang/issues/137).
37
84
38
85
### Required without all
39
86
40
87
In `validation.php` file, a new line has been added :
41
88
42
89
"required_without_all" => "The :attribute field is required when none of :values are present."
43
90
44
-
You can follow translations in the issue [#172](https://github.com/caouecs/Laravel4-lang/issues/172).
91
+
You can follow translations in the issue [#172](https://github.com/caouecs/laravel-lang/issues/172).
45
92
46
93
### Validation email
47
94
48
95
In `validation.php` file, the text for email has been updated :
49
96
50
97
"email" => "The :attribute must be a valid email address."
51
98
52
-
You can follow translations in the issue [#187](https://github.com/caouecs/Laravel4-lang/issues/187).
99
+
You can follow translations in the issue [#187](https://github.com/caouecs/laravel-lang/issues/187).
53
100
54
101
### Required with all
55
102
56
103
In `validation.php` file, a new line has been added :
57
104
58
105
"required_with_all" => "The :attribute field is required when :values is present."
59
106
60
-
You can follow translations in the issue [#193](https://github.com/caouecs/Laravel4-lang/issues/193).
107
+
You can follow translations in the issue [#193](https://github.com/caouecs/laravel-lang/issues/193).
61
108
62
109
Laravel 4.2
63
110
---
@@ -68,56 +115,24 @@ In `reminders.php` file, a new line has been added :
68
115
69
116
"reset" => "Password has been reset!"
70
117
71
-
You can follow translations in the issue [#258](https://github.com/caouecs/Laravel4-lang/issues/258).
118
+
You can follow translations in the issue [#258](https://github.com/caouecs/laravel-lang/issues/258).
72
119
73
120
### Validation.timezone
74
121
75
122
In `validation.php` file, a new line has been added :
76
123
77
124
"timezone" => "The :attribute must be a valid zone."
78
125
79
-
You can follow translations in the issue [#259](https://github.com/caouecs/Laravel4-lang/issues/259).
80
-
81
-
---
82
-
83
-
How add languages in my app ?
84
-
---
85
-
86
-
### Installation by GitHub
87
-
88
-
* Clone the [GitHub repository](https://github.com/caouecs/Laravel4-lang/) : *git clone https://github.com/caouecs/Laravel4-lang.git*
89
-
* Or download the [zip file](https://github.com/caouecs/Laravel4-lang/archive/master.zip)
90
-
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
91
-
92
-
93
-
### Installation by Composer
94
-
95
-
* For Laravel 4 : add *"caouecs/laravel4-lang": "dev-master"* in your `composer.json` in "require" or run *composer require caouecs/laravel4-lang*
96
-
* For Laravel 5 : add *"caouecs/laravel4-lang": "dev-laravel5"* in your `composer.json` in "require"
97
-
* Do "composer update"
98
-
* Files of languages are in "vendor/caouecs/laravel4-lang" directory
99
-
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
100
-
101
-
102
-
### Language by default in your app
103
-
104
-
In the file *app/config/app.php*, change the value of *language* by the short name of your language.
105
-
106
-
---
126
+
You can follow translations in the issue [#259](https://github.com/caouecs/laravel-lang/issues/259).
107
127
108
-
How can I add a language in this project ?
128
+
Laravel 5.0
109
129
---
110
130
111
-
* fork this repository
112
-
* create a directory with the short name of the language (ex: fr for French) from ISO-639-1 ( see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
113
-
* copy this three files of the english version with your translate
114
-
* for [Laravel](https://github.com/laravel/laravel/tree/master/app/lang/en)
115
-
* add a pull request with the name of the language
116
-
131
+
* array for PHP 5.4+
132
+
* validation.filled, with same translation than validation.required
133
+
**reminders* file is now *languages* file
117
134
118
-
How can I fix a file ?
119
-
---
135
+
In `passwords` file [#323](https://github.com/caouecs/laravel-lang/issues/323) :
120
136
121
-
* fork this repository
122
-
* update the file
123
-
* add a pull request with the name of the language
137
+
"sent" => "We have e-mailed your password reset link!"
0 commit comments