A console command to find missing translations for Laravel projects
diglabby/laravel-find-missing-translations is a Laravel package for a console command to find missing translations for laravel projects.
It currently has 8 GitHub stars and 13.424 downloads on Packagist (latest version 1.7.0).
Install it with composer require diglabby/laravel-find-missing-translations.
Discover more Laravel packages by diglabby
or browse all Laravel packages to compare alternatives.
Last updated
Artisan command to find missing translations. It takes a basic locale and finds missing keys/translations in other locales.

Output example:

composer require diglabby/laravel-find-missing-translations --dev
The package works with Laravel 5 and higher, PHP 7.1 and higher.
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
composer test
Inspired by VetonMuhaxhiri/Laravel-find-missing-translations