Laravel-Lang/publisher

Publisher doesn't detect Jetstream Translations in Laravel 10

luisprmat opened this issue · 2 comments

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

image

There may also be bugs with breeze or other packages

Steps to reproduce

  • laravel new project --jet
  • Choose livewire stack (also i choose phpunit)
  • Set language:
    • Change config.app.locale to es
    • Run composer require laravel-lang/publisher laravel-lang/lang laravel-lang/attributes --dev
    • Run php artisan lang:add es

Result
Spanish translations for Jetstream Views weren't added.

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

image

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 🙂

image