Red Hat Bugzilla – Bug 1183412
Emails to administrators are sent in the current interface language.
Last modified: 2015-04-19 21:26:56 EDT
Description of problem:
When a user sends an email to the administrator, the template text of the email uses the language setting of the Zanata interface of the signed-in user. Emails to administrators should be in the administrator's language. There is no way at the moment to set the language for the administrator emails.
Steps to Reproduce:
1.Sign in with any account and change the interface language
2.Use the 'email administrator' feature to send an email with any content.
3.Find the email in the administrator inbox.
Text is in the language that the interface was changed to in step 1
Emails to administrators are sent in the default language, which is English at the moment. It would also be handy of the default admin language for a server could be changed.
Note that when an internal message system is implemented, admin users may be able to choose their preferred email language.
This is becoming a bigger problem as Zanata is translated into more languages.
Note to self:
Looks like these classes are involved in this behaviour:
Pull request: https://github.com/zanata/zanata-server/pull/740
Verified (release) at 600d7882e7e666bdec3e62537d3c3541225fb611
Verified (master) at fe9939daf11fdd3feb2302e241cda4aab85de8cd