You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
After the first ever email is sent, the translation is saved to the settings. Changing the forum language does not affect the language of the email until you clear the setting value, and it will then be hard-coded to the current language again.
If you have multiple languages enabled, this means we can't use the benefit of the translator despite the email being translated by language packs.
Steps to Reproduce
Enable extension, only customize bad words but don't set an email template
Enable additional language, for example French
Cause email to be sent for a first User using English. Email arrives in English
Switch language to French in the header,
Cause another email to be sent to the same or a different User while using the French forum. Email arrives in English again
Expected Behavior
When not setting a custom email template, the mail should be translated to the current or default forum locale, not the one that happened to send the very first mail and never change later.
Bug Report
Current Behavior
After the first ever email is sent, the translation is saved to the settings. Changing the forum language does not affect the language of the email until you clear the setting value, and it will then be hard-coded to the current language again.
If you have multiple languages enabled, this means we can't use the benefit of the translator despite the email being translated by language packs.
Steps to Reproduce
Expected Behavior
When not setting a custom email template, the mail should be translated to the current or default forum locale, not the one that happened to send the very first mail and never change later.
Environment
Possible solution(s)
Rewrite code to not save the default translations to the database
Additional Context
The code has been rewritten over the years but it has always worked like this
filter/src/Listener/CheckPost.php
Lines 133 to 146 in 347c235
The text was updated successfully, but these errors were encountered: