Language fails if default app language is not in list of supported language #1165
Unanswered
andersespedalen
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the backup runs, it use its translation strings matching the app locale, but if the default locale of the app is something other than what is supported by the package, you get output i emails like:
backup::notifications.backup_successful_body
Even though the my app have optional english locale, there's no way for the backup to use it.
Setting the locale
(App::setLocale('en'))
in Console/Kernel.php have no effect.It would be great to be able to specify in config/backup.php what language to use (whitch is supported by the package), or be able to add your own language files.
Beta Was this translation helpful? Give feedback.
All reactions