diglabby/laravel-find-missing-translations
最新稳定版本:1.5.2
Composer 安装命令:
composer require diglabby/laravel-find-missing-translations
包简介
A console command to find missing translations for Laravel projects
README 文档
README
Find missing Laravel Translations
Artisan command to find missing translations. It takes a basic locale and finds missing keys/translations in other locales.
Output example:
Installation
composer require diglabby/laravel-find-missing-translations --dev
The package works with Laravel 5 and higher, PHP 7.1 and higher.
Usage
Use default locate as base and default Laravel’s path to lang files:
php artisan translations:missing
You can specify a base locale:
php artisan translations:missing --base=es
You can specify a list of locales to check:
php artisan translations:missing --base=es --only=be,en
You can specify a list of locales to exclude:
php artisan translations:missing --base=es --exclude=fr,de
You can specify a relative or absolute path to lang directory location:
php artisan translations:missing --dir=/resources/my-custom-lang-dirname
Contributing
Testing
composer test
Thanks
Inspired by VetonMuhaxhiri/Laravel-find-missing-translations
统计信息
- 总下载量: 9.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-30
