laravel-lang/status-generator

Translation status generator for Laravel Lang projects

v1.6.0 2022-08-29 20:11 UTC

README

laravel lang status generator

Stable Version Unstable Version Total Downloads License

Installation

To get the latest version of Laravel Lang: Status Generator library, simply require the project using Composer:

composer require laravel-lang/status-generator --dev

Using

Create new locale

vendor/bin/lang create <locale>

Download

vendor/bin/lang download --url=https://github.com/laravel/framework/archive/refs/heads/9.x.zip --project=framework --ver=9.x
vendor/bin/lang download --url=https://github.com/laravel/framework/archive/refs/heads/8.x.zip --project=framework --ver=8.x

vendor/bin/lang download --url=https://github.com/laravel/laravel/archive/refs/heads/9.x.zip --project=laravel --ver=9.x --copy=lang
vendor/bin/lang download --url=https://github.com/laravel/laravel/archive/refs/heads/8.x.zip --project=laravel --ver=8.x --copy=lang --copy=resources/lang

vendor/bin/lang download --url=https://github.com/laravel/jetstream/archive/refs/heads/2.x.zip --project=jetstream --ver=2.x
vendor/bin/lang download --url=https://github.com/laravel/jetstream/archive/refs/heads/1.x.zip --project=jetstream --ver=1.x

Translations status

vendor/bin/lang status

Actualize keys

vendor/bin/lang sync

Upgrade from previous structure

vendor/bin/lang upgrade