Filament ResetPassword notification - set locale correctly
i do:
the email i get is in english. why? im setting the app locale in catalan before sending the notification. why is sent in english?
then i saw that in my env i have:
and if i change the env to:
and i get the email in catalan.
but i dont want to change the APP_LOCALE
i want the notification to be sent in the language i set before the notification is sent. how to achieve it? i thought doing app()->setLocale('ca') would do the trick, but seems is being ignored
2 Replies
seems it relies on the default locale set in the configuration instead of the dynamically set locale in the code
bump