40ffce9fff56e81fa9cc726081c2f28df3dfba82
Laravel-lang
In this repository, you can find the lang files for the framework PHP, Laravel 4/5/6/7.
New
- in version 6.1, we propose a new file by language:
validation-inline.php( see #1268 ) - in future version 7, we will have new directory names to follow ISO-15897 ( see #1269 )
Install
Via Composer
- For Laravel 7.x : run
composer require caouecs/laravel-lang:~6.1in your project folder - For Laravel 6.x : run
composer require caouecs/laravel-lang:~5.0in your project folder - For Laravel 5.8 : run
composer require caouecs/laravel-lang:~4.0in your project folder - For Laravel 5.1-5.7 : run
composer require caouecs/laravel-lang:~3.0in your project folder - For Laravel 5 : run
composer require caouecs/laravel-lang:~2.0in your project folder - For Laravel 4 : run
composer require caouecs/laravel-lang:~1.0in your project folder - Files of languages are in "vendor/caouecs/laravel-lang" directory
- Copy the folders of languages that you want, in the resources/lang folder of your Laravel application (app/lang in Laravel 4).
Via GitHub
- Clone the GitHub repository : git clone https://github.com/caouecs/Laravel-lang.git
- Or download the zip file
- Choose the branch:
laravel4for Laravel 4 projectmasterfor Laravel 5, 6, 7 projects
- Copy the folders of languages that you want, in resources/lang folder of your Laravel application (app/lang in Laravel 4).
Via SVN
Run this in your project directory:
# Laravel 5:
svn export https://github.com/caouecs/Laravel-lang/trunk/src/[language-code] resources/lang/[language-code]
# Laravel 4:
svn export https://github.com/caouecs/Laravel-lang/branches/laravel4/[language-code] app/lang/[language-code]
Replace [language-code] by any of the languages listed here.
Usage [Laravel only]
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).
Contributing
Please see CONTRIBUTING for details.
Status of files
- Check the todo.md file to see the missing translations.
Projects based on this package
- LaravelLang by ARCANEDEV - Translations manager and checker for Laravel.
- Laravel-lang by overtrue - Command to add languages in your project.
- laravel-lang-publisher by Andrey Helldar - Easy installation and update of translation files for your project.
Credits
Description
List of 78 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.
https://laravel-lang.com
21 MiB
0 Stars
1 Watchers
0 Forks
Languages
PHP
100%