rodsaseg / laravel-lang
Languages for Laravel
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:package
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.10
Suggests
- ablunier/laravel-lang-installer: Command for easily add languages to a Laravel project
- andrey-helldar/laravel-lang-publisher: Easy installation and update of translation files for your project
- arcanedev/laravel-lang: Translations manager and checker for Laravel 5
- overtrue/laravel-lang: Command to add languages in your project
This package is auto-updated.
Last update: 2024-10-04 23:37:50 UTC
README
In this repository, you can find the lang files for the framework PHP, Laravel 4&5.
Help us
With [Laravel 5.8](https://github.com/caouecs/Laravel-lang/issues/1007), we must update passwords file, with the numbers of characters for the password, in `laravel58` branch.
Install
Via Composer
- For Laravel 5.8 : run
composer require caouecs/laravel-lang:dev-laravel58
in your project folder - For Laravel 5.1-7 : run
composer require caouecs/laravel-lang:~3.0
in your project folder - For Laravel 5 : run
composer require caouecs/laravel-lang:~2.0
in your project folder - For Laravel 4 : run
composer require caouecs/laravel-lang:~1.0
in 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:
laravel4
for Laravel4 projectmaster
for Laravel5 project
- 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).
Change log
Please see CHANGELOG for more information what has changed recently.
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 5.
- Laravel-lang by overtrue - Command to add languages in your project.
- laravel-lang-installer by ablunier - Command for easily add languages to a Laravel project.
- laravel-lang-publisher by Andrey Helldar - Easy installation and update of translation files for your project.