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 Google Cloud Translate (More advanced translation than free Google previously), you need to set the following environment variables
GOOGLE_TRANSLATE_TYPE=service_account
GOOGLE_TRANSLATE_PROJECT_ID=your_project_id
GOOGLE_TRANSLATE_PRIVATE_KEY=your_private_key
GOOGLE_TRANSLATE_CLIENT_EMAIL=your_client_email
GOOGLE_TRANSLATE_CLIENT_CERT_URL=your_client_cert_url
See more here: Google Translate Setup
How can I help you explore Laravel packages today?