Bug 1183412 - Emails to administrators are sent in the current interface language.
Emails to administrators are sent in the current interface language.
Product: Zanata
Classification: Community
Component: Usability (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: 3.6
Assigned To: Sean Flanigan
Damian Jansen
Depends On:
Blocks: Zanata-3.6.1
  Show dependency treegraph
Reported: 2015-01-18 20:08 EST by David Mason
Modified: 2015-04-19 21:26 EDT (History)
3 users (show)

See Also:
Fixed In Version: 3.6.1-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3082)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-04-19 21:26:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Mason 2015-01-18 20:08:53 EST
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. 

How reproducible:
Easy, always.

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.

Actual results:
Text is in the language that the interface was changed to in step 1

Expected results:
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.

Additional info:
Note that when an internal message system is implemented, admin users may be able to choose their preferred email language.
Comment 1 Sean Flanigan 2015-03-09 01:38:26 EDT
This is becoming a bigger problem as Zanata is translated into more languages.
Comment 2 Sean Flanigan 2015-03-19 21:18:01 EDT
Note to self:  

Looks like these classes are involved in this behaviour:

Comment 3 Sean Flanigan 2015-03-22 21:13:32 EDT
Pull request: https://github.com/zanata/zanata-server/pull/740
Comment 4 Damian Jansen 2015-03-23 23:09:25 EDT
Verified (release) at 600d7882e7e666bdec3e62537d3c3541225fb611
Verified (master) at fe9939daf11fdd3feb2302e241cda4aab85de8cd

Note You need to log in before you can comment on or make changes to this bug.