equipc/laravel-lang

Easy install of the additionnal languages files for the Laravel framework
91 1
Install
composer require equipc/laravel-lang
Latest Version:v1.1.0
License:MIT
Last Updated:Feb 28, 2018
Links: GitHub  ·  Packagist
Maintainer: equipc

Laravel-lang

This packages add a translations pubisher for the languages files for Laravel 5 application based on caouecs/Laravel-lang.

Install

$ composer require "equipc/laravel-lang"

After completion of the above, add the following service provider in the config/app.php file

EquiPC\LaravelLang\TranslationPublisherServiceProvider::class,

Usage

You can publish the language files to your project resources/lang/ directory with the following Artisan command:

$ php artisan lang:publish LOCALES {--force}

examples:

$ php artisan lang:publish fr,nl

License

MIT