Publisher doesn't detect Jetstream Translations in Laravel 10
luisprmat opened this issue · 2 comments
luisprmat commented
Environment
- Laravel-Lang Publisher Version: 14.6.1
- Laravel Version: 10.0.0
- PHP Version: 8.2.2
Issue description
@andrey-helldar In Laravel 9 it was detected if jetstream was installed and the translations were added, in Laravel 10 only the framework translations are added, that is, it is not working
There may also be bugs with breeze or other packages
Steps to reproduce
laravel new project --jet
- Choose
livewire
stack (also i choosephpunit
) - Set language:
- Change
config.app.locale
toes
- Run
composer require laravel-lang/publisher laravel-lang/lang laravel-lang/attributes --dev
- Run
php artisan lang:add es
- Change
Result
Spanish translations for Jetstream Views weren't added.
andrey-helldar commented
I understood the reason. I'll do it now :)
Jetstream 3.0 is out now: https://github.com/laravel/jetstream/releases/tag/v3.0.0
andrey-helldar commented
laravel-lang/lang
12.17.0 is released: https://github.com/Laravel-Lang/lang/releases/tag/12.17.0
Also, you can replace a composer require laravel-lang/publisher laravel-lang/lang laravel-lang/attributes --dev
command with composer require laravel-lang/common --dev