This package installs a global command that lets you easily install language files in your Laravel application.
The language files are downloaded from the awesome caouecs/Laravel-lang repository.
You can install the package globally via composer:
composer global require pawelmysior/laravel-localize
Make sure that the global composer's
vendor/bin directory is in your system's
Cd into your Laravel application and run this command:
where LANG is the code of the language you want to install. For example, to install German language files, run:
The command will install the following files:
Some other example languages:
# Install Dutch language files laravel-localize nl # Install Polish language files laravel-localize pl # Install Spanish language files laravel-localize es
You can find the list of available languages here.
The MIT License (MIT). Please see License File for more information.