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.
To use --translate-missing option, you need to set up a translation service.
This can be done by setting environment variables.
The default configuration option specifies the class to be used for automatic translation. This service will be used for translating strings.
You can create your own translation service by implementing the Bottelet\TranslationChecker\Translator\TranslatorContract and overwriting the default configuration option.
How can I help you explore Laravel packages today?