timeoverflow icon indicating copy to clipboard operation
timeoverflow copied to clipboard

Wrong locale email "New Application"

Open sseerrggii opened this issue 10 months ago • 1 comments

Sometimes I recive this email in French app/mailers/organization_notifier.rb but my user (the user with email that I'm reciving) locale it's not French

Also It will be good to translate the subject "New Applitication"

sseerrggii avatar Feb 04 '25 19:02 sseerrggii

@sseerrggii lets keep it open for now (the subject is still hardcoded), but I think I solved this in #771. This is the commit: https://github.com/coopdevs/timeoverflow/pull/771/commits/0ecec0fc9a574c42f49893f2e3022dfc5f202135. Since we send those emails via bcc to multiple users, we need to use the same lang for all users, so I used the lang of the first manager (which make more sense compared to the previous implementation: use the lang of the last request received in the back-end).

markets avatar Feb 04 '25 20:02 markets