GoteoFoundation / goteo

Goteo Version 3, the Open Source Crowdfunding Platform
http://goteo.org
GNU Affero General Public License v3.0
188 stars 133 forks source link

Recieved notification from a project with the wrong language #612

Open davidbeig opened 4 months ago

davidbeig commented 4 months ago

When receiving a notification sent from a project the template content of the email is not in my communication preferred language.

https://github.com/GoteoFoundation/goteo/blob/a59c2a299d358584e1d2bb03990768252da80531/src/Goteo/Model/Mail.php#L268-L299

As we can see in the code it takes the template using the $lang of the user doing the action, not the user receiving it.