Starter Kits
This package includes the localization of the Starter Kits interface.
So, you can easily localize the translation of them too!
Installation
The compatibility table can be viewed here.
To install, run the console command:
composer require --dev laravel-lang/starter-kits:^1.17.2
Usage
For Laravel Starter Kits translation key publishing to work properly, do not rename the application name specified in the `name` key of the `composer.json` file. Otherwise, Starter Kits translations will not be installed.
laravel/livewire-starter-kitlaravel/react-starter-kitlaravel/vue-starter-kit
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 | Status |
|---|---|---|---|---|
| 12, 13 | 8.2, 8.3, 8.4, 8.5 | 16 | ^1.0 | supported |