bottelet/translation-checker
Laravel dev tool to scan your code for translation strings, detect missing keys in lang files (JSON/PHP), and sync them across locales. Optionally use AI to auto-translate missing entries; otherwise adds null placeholders to keep files consistent.
For OpenAI, you need to set the following environment variables:
OPENAI_API_KEY=your_api_key
OPENAI_API_BASE=your_api_base
You can added your custom prompt_extension in the translator.php config files, for more accurate translations.
For more information, see OpenAI Setup
How can I help you explore Laravel packages today?