Closed medeiroz closed 1 year ago
We have the same issue
Do you use custom views or something? Did you publish the previous translation files? Also see the changelog https://github.com/knuckleswtf/scribe/blob/master/CHANGELOG.md#4210-29-may-2023 and the docs on localisation https://scribe.knuckles.wtf/laravel/advanced/localization
Also, can you share the exact exception that was thrown? This isn't the actual message.
Hmm, interesting. Are you using Laravel Octane? How are you running the generate command?
Okay, I think I've found a fix. Can you guys try with the master
branch now? composer require --dev knuckleswtf/scribe:dev-master
should be enough.
Also had the same issue, rolled back to 4.20 for now. Definitely an environment thing though as it worked fine in dev but only errored during our production deployment.
I had the same issue, I can cofirm that dev-master
works.
Fixed in 4.21.1
Thanks @shalvah 👍
Scribe version
4.21
PHP version
8.1
Framework
Laravel
Framework version
10.12.0
Scribe config
What happened?
I ran
php artisan scribe:genrate
the error"Translation not found for $key. You can add a translation for this in your
lang/scribe.php, but this is likely a problem with the package. Please open an issue."
is shownI rollback to 4.20 and it worked as expected
Docs