Open virgile-dev opened 6 days ago
I observed the same. User A sends invite to user B -> user B get's email in language of user A We need to store/set the language for the user B in the backend.
With my PR from #333 we will have the same language in the backend that we have in the frontend, because of sharing the language cookie impress_language
.
We just need to read that cookie on the backend when the user B makes any request to it, and if it changed, store/overwrite it for user B.
Then we always have up to date preferred language for the user B. And when user B is supposed to receive an invite/mail, we can translate based on his stored language, no matter who invited him.
Bug Report
Problematic behavior Even though my interface is in french I'm receiving notification emails in english. Right the emails are sent in the language setting the sender using on the app. It should be the opposite.