EquiPC / laravel-lang by equipc

Easy install of the additionnal languages files for the Laravel framework
90
1
2
Package Data
Maintainer Username: equipc
Maintainer Contact: michel.laurent@equipc.net (Michel LAURENT)
Package Create Date: 2017-03-23
Package Last Update: 2018-02-28
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:17:21
Package Statistics
Total Downloads: 90
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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