Languages for Laravel

Installs: 1 315 214

Dependents: 49

Suggesters: 1

Security: 0

Stars: 4 840

Watchers: 162

Forks: 2 152

Open Issues: 6

6.0.3 2020-06-21 09:04 UTC


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


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


Run this in your project directory:

# Laravel 5:
svn export[language-code] resources/lang/[language-code]

# Laravel 4:
svn export[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).


Please see CONTRIBUTING for details.

Status of files

  • Check the file to see the missing translations.

Projects based on this package