You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the trans function to use the fallbackLocale. Instead it echoes out the translation string.
// 'Forgot Password' is set in de/app.php, locale = 'de', fallbackLocale = 'en'console.log(trans('app.jetstream.Forgot Password'));// -> Passwort vergessen// 'Forgot Password' is not set in de/app.php, locale = 'de', fallbackLocale = 'en'console.log(trans('app.jetstream.Forgot Password'));// -> app.jetstream.Forgot Password
The text was updated successfully, but these errors were encountered:
I am experiencing the same issue. I think it could be fixed in setLanguege method.
Instead of setting this.activeMessages[key] = null better use the fallbackLang and those messages to be kept in fallbackMessages this.activeMessages[key] = this.fallbackMessages[key] || null
It would comet with the drawback that fallback lang must always be loaded and extra memory usage due to keeping them in fallbackMessages
The FallbackLocale option is not working correctly.
I would expect the
trans
function to use the fallbackLocale. Instead it echoes out the translation string.The text was updated successfully, but these errors were encountered: