Lang | Laravel Lang

Laravel Lang Help

Lang

Installation

To install, run the console command:

composer require --dev laravel-lang/lang

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

8.2, 8.3

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

Last modified: 06 August 2024