-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 4.21 has bug to translate #676
Comments
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 |
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 |
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
The text was updated successfully, but these errors were encountered: