Translatable Pro is a premium package,
get your license here
On this page
upgrade to v3
Laravel AI SDK
Recent versions require the Laravel AI SDK for AI phrase translation.
After upgrading, run:
1composer update lara-zeus/translatable-pro
This pulls in laravel/ai automatically. If you use a path repository for local development, run composer update in your application as well.
Breaking changes to note:
- Minimum PHP version is now
^8.3(required bylaravel/ai). - AI translation requires Laravel
^12.0 || ^13.0at runtime (the AI SDK does not support Laravel 11).
New setup steps for AI translation:
- Publish the Laravel AI config:
php artisan vendor:publish --provider="Laravel\Ai\AiServiceProvider" - Add your provider API key to
.env(e.g.GEMINI_API_KEYfor the default model). - Ensure a queue worker is running if you use bulk AI translation.
See AI Translation for details.
Our Sponsors
Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.