larswiegers/laravel-translations-checker
Find missing Laravel translations fast. Run php artisan translations:check to compare languages and see what keys are missing and where. Supports custom lang directories plus excluding vendor paths, specific languages, and file extensions for cleaner results.
vendor/) from checks, preventing false positives while maintaining project-wide coverage..php and .json translation files, accommodating teams with mixed file formats without forcing standardization.Adopt if:
resources/lang structure (or a custom path).Avoid if:
Lang::get($variableKey)) that can’t be statically analyzed.Look elsewhere if:
"This tool eliminates a hidden cost center: translation errors. Right now, users in [Language X] see broken strings or placeholder text, which damages our brand and drives support tickets. By automating checks for missing translations—before code ships—we’ll reduce post-launch fixes by 80% (based on similar projects). It’s a zero-cost, high-impact fix that aligns with our global growth strategy. The setup takes <1 hour, and it runs automatically in our CI pipeline, so no extra work for the team."
Key Outcomes:
*"This is a five-minute install that solves a chronic pain point. Here’s how it works:
composer require --dev larswiegers/laravel-translations-checker.php artisan translations:check in your CI pipeline (or locally).nl.passwords.reset, so you can add them before they hit production.It’s MIT-licensed, Laravel-native, and plays nicely with our existing resources/lang structure. We can exclude vendor files or specific languages if needed. Best part? It’s dev-only, so no runtime overhead.
Proposal: Let’s add this to our pre-release checklist. It’ll catch issues like [Bug #123] where users saw {{ __('missing.key') }} in French. For the cost of a Composer dependency, we avoid those headaches."*
Engineering Benefits:
How can I help you explore Laravel packages today?