New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

novius/laravel-caouecs-lang-extended

Generate default languages files for Laravel
4,742 1
Install
composer require novius/laravel-caouecs-lang-extended
Latest Version:0.4.0
PHP:>=7.3
Laravel:5
License:AGPL-3.0
Last Updated:May 11, 2020
Links: GitHub  ·  Packagist
Maintainer: novius

Novius Caouecs lang extended

This package gives an artisan command to publish native laravel translations in the desired language. The native translations are made by the caouecs/laravel-lang package.

Installation

You can install the package via Composer:

composer install novius/caouecs-lang-extended

Then, if you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your config/app.php file:

'providers' => [
    ...
    Novius\Caouecs\Lang\LangGeneratorServiceProvider::class,
];

Usage

This command put languages files into resources/lang/{local} folder.

php artisan lang:install {local}

Example for publishing FR files :

php artisan lang:install fr

By default the command does not overwrite existing files. You can use --force parameters to force overriding.

php artisan lang:install fr --force

Testing

Run the tests with:

./test.sh

Lint

Run php-cs with:

./cs.sh

Contributing

Contributions are welcome!

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version.

Related Packages

forxer/generic-term-translations-for-laravel

A plugin for Laravel Lang that provides generic term translations for Laravel.

2,653 2
wanxsb/laravel-lang

List of 75 languages for Laravel 4, 5, 6 and 7

2,383 1
generalsystemsvehicle/in-one-ear

A system for presenting languages (in English), their short and long ISO names a...

1,761 0
ablunier/laravel-lang-installer

Command for easily add languages to a Laravel project

974 12
rkgrep/locales

Locale management package for Laravel.

497 0

Version History

Version Released PHP Laravel License
0.4.0 >=7.3 ~5.6 AGPL-3.0
0.3.0 >=7.1 5.4.*|5.5.*|5.6.* AGPL-3.0
0.2.0 >=5.6.4 5.4.*|5.5.* AGPL-3.0
0.1.0 >=5.6.4 5.4.* AGPL-3.0