Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Status Generator Laravel Package

laravel-lang/status-generator

Dev tool for Laravel Lang that generates locale status by creating missing locales and downloading/copying translation files from Laravel projects (framework, laravel, jetstream). Provides CLI commands to create locales and fetch sources from URLs/paths.

View on GitHub
Deep Wiki
Context7

Laravel Lang: Status Generator

Stable Version Total Downloads Github Workflow Status 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=<locale>

To create missing locales, call the command without parameters:

vendor/bin/lang create

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

You can also specify the --only-copy option to disable key lookups. In this case, the mechanism will copy the found files from the paths passed in the --path parameter. Translations within files will not be searched.

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 --only-copy

Translations status

vendor/bin/lang status

Actualize keys

vendor/bin/lang sync

Translate keys with Google Translate

Supported languages: cloud.google.com/translate/docs/languages

vendor/bin/lang translate

Upgrade from previous structure

vendor/bin/lang upgrade
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport