Package Data | |
---|---|
Maintainer Username: | sleepybuildings |
Maintainer Contact: | thomas@tsmit.nl (Thomas Smit) |
Package Create Date: | 2015-10-08 |
Package Last Update: | 2015-10-08 |
Home Page: | |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-12-23 03:29:00 |
Package Statistics | |
---|---|
Total Downloads: | 13 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Simple Laravel Artisan command to check your language files for inconsistencies.
Transchecker checks your languagefiles and can report the following errors:
Install through Composer: https://packagist.org/packages/sleepybuildings/transchecker
Then add the Transchecker serviceprovider to the your app config:
providers' => [
...
\Sleepybuildings\Transchecker\TranscheckerServiceProvider::class,
...
]
Languagefiles needs to be in the resources/lang
directory.
Run the check by executing the following artisan command:
php artisan lang:check
>> php artisan lang:check
Languages found: en, nl
Namespaces found: auth, pagination, passwords, validation
Checking files...
There is 1 missing file:
+----------+------------+
| Language | Namespace |
+----------+------------+
| nl | validation |
+----------+------------+
There are 4 missing entries:
+----------+------------+----------+---------+
| Language | Namespace | Entry | Error |
+----------+------------+----------+---------+
| nl | pagination | previous | Missing |
| nl | pagination | next | Missing |
| en | passwords | sent | Empty |
| nl | passwords | token | Missing |
+----------+------------+----------+---------+
Finished with 5 errors