Skip to content
List of 75 languages for Laravel 5, 6 and 7
PHP
Branch: master
Clone or download

Latest commit

Latest commit dbbbad7 Jun 21, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
json Merge branch 'master' into master Jun 21, 2020
script feature: dashboard and you are logged in May 22, 2020
src Merge branch 'master' into master Jun 21, 2020
.editorconfig Add .editorconfig Feb 6, 2014
.gitattributes Ignore files when exporting package Jun 6, 2020
.gitignore feature: validation - file Jul 1, 2016
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 7, 2017
CONTRIBUTING.md Removed php-cs (styleci used) Mar 13, 2020
LICENSE.md Updated LICENSE.md Mar 13, 2020
README.md doc and todo Mar 17, 2020
composer.json Removed php-cs (styleci used) Mar 13, 2020
todo.md todo Jun 21, 2020

README.md

Laravel-lang

In this repository, you can find the lang files for the framework PHP, Laravel 4/5/6/7.

Install

Via Composer

  • For Laravel 7.x : run composer require caouecs/laravel-lang:~6.0 in your project folder
  • For Laravel 6.x : run composer require caouecs/laravel-lang:~5.0 in your project folder
  • For Laravel 5.8 : run composer require caouecs/laravel-lang:~4.0 in your project folder
  • For Laravel 5.1-5.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

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

Credits

You can’t perform that action at this time.