By Alex Lee on Tuesday, 29 November 2016
Posted in General Issues
Likes 0
Views 137
Votes 0
Hey guys how's it going?

So for 2017 i've got to make my clients site support more multi languages , and one problem that i've been facing over the past year or so is this:

Lets say some one wants to view the site in french and adds an update on the network as i've installed the french languge pack on the site it sends the notifications out in french to everyone, but thats not really logical, just because the user is viewing the site in french doesn't mean that the rest of the users shouldn't see french notificaiton (i'm talking about all the component text friend request etc not the user genereated content) make sence?

Is it I whom is doing some thing wrong or am i missing some thing? is there a way i can get the languge to be set per profile ie if some one selects English during sign up he only gets notifications from the english pack, and same if some one sets it as French he gets french notifiaitons.

best
Hello Alex,

When a notification is generated on the mail queue table, it also stores the user's preferred language. When sending out the e-mail, EasySocial would look at the "language" column and try to load the language accordingly.

If the person sets "French" as his preferred language, then he should be receiving e-mails in French based on the translated language strings from your language file.

If it is not working,

1. Check if the table `#__social_mailer` is storing the language correctly under the column language

2. If the above is correct, then check your language file.
·
Tuesday, 29 November 2016 21:55
·
0 Likes
·
0 Votes
·
0 Comments
·
ah ok so i'm guessing i'm missing the Joomla Language preference in the sign up right? at the moment i don't ask them wasn't actually sure what that was for but now I'm guessing its for this exact reason?
·
Tuesday, 29 November 2016 22:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that would be the case as EasySocial would fall back to the default
·
Tuesday, 29 November 2016 22:07
·
0 Likes
·
0 Votes
·
0 Comments
·
hahah make sence now then why things are not behaving
·
Tuesday, 29 November 2016 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, will mark this thread as resolved for now but if you need help with this, do start a new thread
·
Wednesday, 30 November 2016 00:13
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post