Skip to main content
Back to packages
7,775 GitHub stars

laravel-lang/lang

View on GitHub

Description

List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.

You can update existing localizations using the lang:update console command:

php artisan lang:update

We also recommend adding the call code to the post-update-cmd section of the scripts block in the composer.json file:

{
"scripts": {
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
"@php artisan lang:update"
]
}
}

This allows localization files to be automatically updated after dependency updates, rather than manually running the php artisan lang:update console command.

Recent Courses on Laravel Daily

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.