Lang
tip
This package contains translations of all official keys from Laravel projects:
Laravel Framework, Jetstream, Fortify, Cashier, Breeze, Nova (also Dusk Suite and Log Viewer), Nova (also Dusk Suite, Log Viewer ) and UI
Installation
note
The compatibility table can be viewed here.
To install, run the console command:
composer require --dev laravel-lang/lang:^15.39.1
Usage
Now 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.
Compatibility
| Laravel | PHP | Publisher | Package | Dependencies | Status |
|---|---|---|---|---|---|
^11.0.7, 12, 13 | 8.2, 8.3, 8.4, 8.5 | 16 | ^15.10 | Breeze 2, Cashier Stripe 15, Fortify 1, Jetstream 5, Nova 4/5, Spark Paddle *, Spark Stripe *, UI 4 | supported * Spark projects have been removed from the Laravel organization on GitHub |
^11.0.7 | 8.2, 8.3, 8.4, 8.5 | 16 | ^15.0 | Breeze 2, Cashier Stripe 15, Fortify 1, Jetstream 5, Nova 4, Spark Paddle, Spark Stripe, UI 4 | supported |
10, <=11.0.6* | 8.1, 8.2, 8.3 | 14, 15, 16 | ^14.0 | Breeze 1, 2, Cashier Stripe 13, 14, 15, Fortify 1, Jetstream 2, 3, 4, 5, Nova 4, Spark Paddle, Spark Stripe, UI 4 | not supported |
| 10 | 8.1, 8.2, 8.3 | 14, 15, 16 | ^13.0 | Breeze 1, Cashier Stripe 13, 14, Fortify 1, Jetstream 2, 3, 4, Nova 4, Spark Aurelius 11, 12, Spark Aurelius Mollie 2, Spark Paddle, Spark Stripe, UI 4 | not supported |
| 9, 10 | 8.1, 8.2 | 14 | ^12.0 | Breeze 1, Cashier Stripe 12, 13, 14, Fortify 1, Jetstream 1, 2, 3, Nova 3, 4, Spark Aurelius 11, 12, Spark Aurelius Mollie 2, Spark Paddle, Spark Stripe, UI 3, 4 | not supported |
| 6, 7, 8, 9, 10 | 8.1, 8.2 | --- | ^11.0 | Breeze 1, Cashier Stripe 12, 13, Fortify 1, Jetstream 1, 2, Nova 3, 4, Spark Paddle, Spark Stripe, UI 1, 2, 3, 4 | not supported |
| 7, 8, 9 | 8.1, 8.2 | --- | ^10.0 | Breeze 1, Cashier Stripe 12, 13, Fortify 1, Jetstream 1, Nova 3, Spark Paddle, Spark Stripe, UI 1, 2, 3 | not supported |