Package Data | |
---|---|
Maintainer Username: | robinfranssen |
Maintainer Contact: | robin@dev-it.be (Robin Franssen) |
Package Create Date: | 2015-03-09 |
Package Last Update: | 2018-05-07 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:11:17 |
Package Statistics | |
---|---|
Total Downloads: | 19,206 |
Monthly Downloads: | 92 |
Daily Downloads: | 0 |
Total Stars: | 25 |
Total Watchers: | 3 |
Total Forks: | 4 |
Total Open Issues: | 2 |
NOTE: As of laravel 5.2.20 you need version ^0.1.4. For laravel 5.2.19 or lower you need version 0.1.3 of this package.
This package provides you with commands to analyze the translation keys used in your Laravel 5 application.
These commands can detect untranslated and invalid keys.
composer require robinfranssen/analyzelocale --dev
Add the service provider:
// config/app.php
'providers' => [
...
'RobinFranssen\AnalyzeLocale\Providers\ServiceProvider',
...
],
From the command line, run php artisan locale:scan
to see a full overview of the analyzation.
This will show you all information provided by the three other locale commands.
php artisan locale:invalid
will show you the invalid keys.
php artisan locale:untranslated
will show you the untranslated keys.
php artisan locale:allkeys
will show you a table with untranslated and invalid keys.
Every command supports the --locale flag.
For example: php artisan locale:allkeys --locale=nl