In this repository, you can find the lang files for the framework PHP, Laravel 4&5.
- For Laravel 5.* : add
"caouecs/laravel-lang": "~3.0"
in yourcomposer.json
in "require" - For Laravel 5 : add
"caouecs/laravel4-lang": "~2.0"
in yourcomposer.json
in "require" - For Laravel 4 : add
"caouecs/laravel4-lang": "~1.0"
in yourcomposer.json
in "require" - Do "composer update"
- Files of languages are in "vendor/caouecs/laravel-lang" directory
- Copy the folders of languages that you want, in app/lang (resources/lang in laravel 5) folder of your application Laravel
- Clone the GitHub repository : git clone https://github.com/caouecs/Laravel-lang.git
- Or download the zip file
- Choose the branch:
laravel4
for Laravel4 projectmaster
for Laravel5 project
- Copy the folders of languages that you want, in app/lang folder of your application Laravel
In the file app/config/app.php, change the value of locale by the short name of your language.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
- Check the todo.md file to see the missing translations.