Skip to main content

Localize your Laravel application

Install translations and localize routes and Eloquent models with Laravel-Lang.

composer require laravel-lang/common
php artisan lang:update
Add locales
php artisan lang:add fr
Usage
__('auth.failed', locale: 'fr');

Localization guides

Documentation for AI agents (llms.txt)