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.
The translations:sync command is used to synchronize translations between language files.
php artisan translations:sync [options]
--source: The source language file to sync from (default: 'en')--target: The target language file to sync to (optional)This command synchronizes translations between language files. It can either sync from a source language file to a specific target language file, or sync from the source to all other language files in the configured language folder.
php artisan translations:sync
php artisan translations:sync --source=fr --target=de
php artisan translations:sync --source=es
The command will update the target language file(s) with any missing keys from the source file, ensuring consistency across your translations.
How can I help you explore Laravel packages today?