By Altitudes on Sunday, 17 May 2015
Posted in Technical Issues
Replies 26
Likes 0
Views 565
Votes 0
Hello

Email sent to a user, for example when you approve or reject his account, are sent using the administrator language in backend. They should be sent using the user preferred language in frontend.

I use English in backend, because French backend translation is far from perfect (and I think that for some languages, there is no backend translation at all
But of course the mails need to be send to my users in their language (French).

Regards

Not fixed (at all) as of ES 1.4.8
Hello,

I am really sorry for the delay of this reply as it is a weekend for us here. Can you download the attached file and upload it into /administrator/components/com_easysocial/includes/mailer/ and see if this works for you?
·
Sunday, 17 May 2015 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, you also need to include this in /administrator/components/com_easysocial/includes/user/
·
Sunday, 17 May 2015 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, it does not work

Approved/Rejected email are still in English, despite the language of my user is French (I set both front and backend languages of the user to French, just to test).
·
Sunday, 17 May 2015 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you upload both these files? Also, did your user set a different language?
·
Sunday, 17 May 2015 19:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, I uploaded the 2 files.

My default Joomla frontend language is French, and backend language English. My users' languages (front and back) are set to "Use Default".
I also tried when the frontend language of the user is set to French. In all theses cases, Approved/Rejected email are still in English.
·
Sunday, 17 May 2015 21:49
·
0 Likes
·
0 Votes
·
0 Comments
·
And one more thing: we also have this issue for the "Resend Activation" function available in ES User management. Email is also in English.
·
Monday, 18 May 2015 03:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Can you try to replace the attached file in: ../administrator/components/com_easysocial/models/registration.php and see how the Resend Activation goes.
·
Monday, 18 May 2015 12:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Here are the tests I did. Note that the default frontend language is French on my site (Extensions > Language Manager in Joomla). I don't have the Language field on user profile, but I changed the frontend language in Joomla User Manager when needed for my tests.
Backend language is English.

- "Resend Activation"
User Frontend Language = French -> OK (mail is in French)
User Frontend Language = Default-> KO (mail is in English)

- "Approve" pending account
The same as for Resend Activation

- "Reject" pending account
User Frontend Language = French -> KO (mail is in English)
User Frontend Language = Default-> KO (mail is in English)

Thank you
·
Monday, 18 May 2015 22:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Sorry for the late reply. I've modified your file ../administrator/components/com_easysocial/includes/user/user.php. Please give it another try.
·
Wednesday, 20 May 2015 10:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Close

Body is in French, but email subject remains in English (I tried for all 3: Resend Activation, Approve and Reject).
·
Wednesday, 20 May 2015 16:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I've added a fix in both files:
../administrator/components/com_easysocial/models/registration.php
../administrator/components/com_easysocial/includes/user/user.php

And I've tested in local, the email title and content showing the correct language:
http://screen.stackideas.com/2015-05-20_1755.png
http://screen.stackideas.com/2015-05-20_1800.png

Please give it another try.
·
Wednesday, 20 May 2015 18:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

It works fine now. It's a bit strange because in backend you get the "email sent" or "user approved" message in French whereas your interface is in English (see attachments). But apart from that, this is OK.
·
Wednesday, 20 May 2015 18:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Sorry for the late reply. I've missed your post. I've checked your site about the different language loaded. I've applied a fix in this file ../administrator/components/com_easysocial/controllers/users.php. Please backup this file and also other files I mentioned in previous reply before upgrade your Easysocial in the future.
·
Friday, 22 May 2015 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Do you mean you are not going to include this in ES core? Why not? Sending emails in the user's language rather than in the administrator language is a feature that should suit everybody, no?
·
Friday, 22 May 2015 16:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am sorry for the confusion here. The fix will be included in the next release of easysocial.
·
Friday, 22 May 2015 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you.

Regarding the fact that an administrator with backend in English gets the status messages ("email sent" etc.) in French rather than in English, this is corrected for Resend Activation and Approve (account), but not when rejecting an account...
·
Sunday, 24 May 2015 16:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Well in fact its a bit worse that that, because if the administrator sets his backend language to French, then for the status messages' language we have exactly the same as when he sets his language to English... Which means that for those status messages, there really is something not correct in ES code regarding the language.

As I said before, this is not a big issue, what counts is that the language is correct in the emails sent to the end user. So do as you please
·
Sunday, 24 May 2015 19:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Sorry for the late reply. We have missed your post. Hurm, seems like everything is messed up in your site because to much modified file and me myself cannot keep track. My suggestion is to reinstall the Easysocial and start fixing it again. But of course it will take time. What do you think?
·
Tuesday, 26 May 2015 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
I just updated to ES 1.3.28 (previously I was on 1.2.27) so everything should be clean now.

Please don't hesitate to ask if what I said before was not clear. You can test on my site, but testing on yours would be easy too, you just have to install French (or any other) language. And please test after fixing... A simple scenario would be:

- Frontend language is French by default, backend language is English by default (in Joomla config). Users and admins have their languages set to defaults.
- From backend, send subsequently an activation reminder, account rejection and account approval notification to a user. The user should receive a mail in French. In backend, the admin should have a status message (e.g. "mail was sent...") in English.

Thanks
·
Tuesday, 26 May 2015 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am sorry for the delayed response.

We are still investigating on the issue and hopefully we can find the valid solution for this issue. Hope you understand.
·
Friday, 29 May 2015 19:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

This does not seem to be fixed in ES 1.3.30, any hope that it will be? Please refer to my last message for a scenario of what is expected...

Thank you
·
Sunday, 09 August 2015 05:54
·
0 Likes
·
0 Votes
·
0 Comments
·
I just tested this locally with the following setup:

1. Backend set to English (UK) as default
2. Frontend set to French as default

Then, registered for a new account and the account appears as pending at the back end.

1. Upon clicking on reject, this is what I am seeing, http://screencast.com/t/Sof6B6sA
2. Upon clicking on approve, this is what I am seeing, http://screencast.com/t/6eV6eFlAqG

I have no idea what issues you are facing here but as I can understand from your post above, you mentioned that the email the user received was in French but the back end notifications are appearing as French as well instead of English?
·
Sunday, 09 August 2015 13:48
·
0 Likes
·
0 Votes
·
0 Comments
·
In this scenario, the issue is that the user will receive the mails in English (the language of the administrator logged in backend) instead of French (his own language).
·
Thursday, 13 August 2015 17:16
·
0 Likes
·
0 Votes
·
0 Comments
·
When testing this locally, the email that I received (as a user) is in French and not English.
·
Friday, 14 August 2015 02:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

I tested this scenario again on my dev2 site (the one you have access to), and the email that I received (as a user, when my account is rejected or approved) is in English :/

Maybe you can have a look on my site?
·
Friday, 14 August 2015 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Altitudes,

I am really sorry that delay of this reply,

We are still investigate on this issue and will get back to you once figure out what issue causing this.
·
Wednesday, 19 August 2015 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post