/laravel-translations-checker

Never worry about missing translations again! Use the translations checker.

Primary LanguagePHPMIT LicenseMIT

Laravel translations checker

Latest Version on Packagist Total Downloads GitHub Actions

Ever feel that you are missing translations in some languages you support? Get users emailing you about weird strings on their screen?

Use the laravel translation checker and get direct feedback where and what translations you are missing!

Installation

You can install the package via composer:

composer require larswiegers/laravel-translations-checker

Usage

php artisan translations:check

Are your translations in a weird directory? use the --directory option like this:

php artisan translations:check --directory=resources/lang

What does the output look like?

The language nl (resources/lang/nl) is missing the file ( passwords.php )
Missing the translation with key: nl.passwords.reset
Missing the translation with key: nl.passwords.sent
Missing the translation with key: nl.passwords.throttled
Missing the translation with key: nl.passwords.token
Missing the translation with key: nl.passwords.user

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email larswiegers@live.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.