Strange behavior with Translatable::fallback(missingKeyCallback #364
Unanswered
invaders-xx
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use version 6.1.0 of the package and L9 (latest)
I have set the fallback within my AppServiceProvider boot as this:
it works well when 'en' is set in company languages but not working when not set. Is anybody facing this behavior?
For example, if I have ['en','fr','de'] in company languages it works( it goes through the fallback function) , if I only have ['fr','de'], it does not work, the result is empty and never goes through the fallback function
my fallback_locale in config/app.php is set to 'en'
Beta Was this translation helpful? Give feedback.
All reactions