diglabby / laravel-find-missing-translations
A console command to find missing translations for Laravel projects
Fund package maintenance!
doika.falanster.by/#history
Installs: 1 891
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 6
Open Issues: 1
Requires
- php: ^7.1.3
- illuminate/console: ^5.8|^6.0|^7.0
- illuminate/support: ^5.8|^6.0|^7.0
Requires (Dev)
- orchestra/testbench: ^3.8|^4.0|^5.0
- phpunit/phpunit: ^7.5|^8.5|^9.2
This package is not auto-updated.
Last update: 2022-06-25 01:16:27 UTC
README
Artisan command to find missing translations. It takes a basic locale and find missing keys/translations in other locales.
Output example:
Installation
composer require diglabby/laravel-find-missing-translations --dev
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 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