Package Data | |
---|---|
Maintainer Username: | vetonmuhaxhiri |
Maintainer Contact: | veto.on@hotmail.com (Veton Muhaxhiri) |
Package Create Date: | 2020-02-21 |
Package Last Update: | 2022-01-03 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-02 03:02:31 |
Package Statistics | |
---|---|
Total Downloads: | 4,244 |
Monthly Downloads: | 51 |
Daily Downloads: | 0 |
Total Stars: | 22 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 1 |
Laravel artisan command to list all your untranslated words.
There is no prerequisites for this command to work, you just need to follow the installing process.
Installing this command is easy, you can use composer or do it manually :
composer require veton-muhaxhiri/laravel-command-to-find-missing-translations
By running composer command you will have everything setup and ready to be used.
By completing this steps the command should work, unless the command is not loaded automaticly. To load the command go to app/Console/Kernel.php and add the class name to the $commands property.
protected $commands = [
Commands\FindMissingTranslations::class
];
In Laravel Lumen we just need one extra step, go open bootstrap/app.php
file and register the service provider by adding the line
$app->register(VetonMuhaxhiri\Laravelfindmissingtranslations\Providers\FindMissingTranslationsProvider::class);
The command expects two arguments :
Inside of language directory
While base language should be one of the language listed in the picture.
$ php artisan translations:missing /resources/lang en
Detects missing words in multilevel array for ex.
Detects missing files, for ex. if file with translation named "posts.php" exists in english but not in deutsch.