validation-inline.php( see #1268 )
Install the Laravel-lang package to your Laravel project with composer using command from the table below based on the version of Laravel you are using:
|Laravel version||Composer command|
|Laravel 7.x and new directory names||
After adding the dependency using composer (as described above) to your application you can find the language files under the directory
Copy the folders (and JSON files) of languages that you want to use, into the directory
resources/lang of your Laravel application (or
app/lang in Laravel 4).
laravel4for Laravel 4 project
masterfor Laravel 5, 6, 7, 8 projects
resources/langfolder of your Laravel application (or
app/langin Laravel 4).
Run this in your project directory:
# Laravel 5: svn export https://github.com/Laravel-Lang/lang/trunk/src/[language-code] resources/lang/[language-code] # Laravel 4: svn export https://github.com/Laravel-Lang/lang/branches/laravel4/[language-code] app/lang/[language-code]
[language-code] by any of the languages listed here.
In the file config/app.php, change the value of locale by the short name of your language (app/config/app.php in Laravel 4).
Please see CONTRIBUTING for details.