translatable-pro

Translatable Pro is a premium package, get your license here

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 by laravel/ai).
  • AI translation requires Laravel ^12.0 || ^13.0 at runtime (the AI SDK does not support Laravel 11).

New setup steps for AI translation:

  1. Publish the Laravel AI config: php artisan vendor:publish --provider="Laravel\Ai\AiServiceProvider"
  2. Add your provider API key to .env (e.g. GEMINI_API_KEY for the default model).
  3. 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.