laravel-lang / status-generator
Translation status generator for Laravel Lang projects
Fund package maintenance!
Open Collective
Installs: 262 994
Dependents: 5
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.1
- ext-json: *
- ext-zip: *
- archtechx/enums: ^0.3.0
- dragon-code/pretty-array: ^4.0
- dragon-code/simple-dto: ^2.3
- dragon-code/support: ^6.11
- guzzlehttp/guzzle: ^7.4
- illuminate/console: ^8.0 || ^9.0 || ^10.0
- illuminate/container: ^8.0 || ^9.0 || ^10.0
- laravel-lang/publisher: ^14.6
- phpunit/phpunit: ^9.5
- stichoza/google-translate-php: ^5.1
- symfony/console: ^5.0 || ^6.0
- symfony/finder: ^5.0 || ^6.0
Requires (Dev)
- symfony/var-dumper: ^5.0 || ^6.0
Conflicts
- laravel-lang/lang: <10.0
- laravel-lang/publisher: <14.0
- dev-main
- 1.x-dev
- v1.16.1
- v1.16.0
- v1.15.1
- v1.15.0
- v1.14.0
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.1
- v1.11.0
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
This package is auto-updated.
Last update: 2023-05-16 20:18:56 UTC
README
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
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