If a non-logged in user gets an error on, say /index.php/fr, how can I ensure that the error uses the French language pack?
Thanks!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 07, 2010 5:20pm
Subscribe [5]#1 / Feb 07, 2010 5:20pm
If a non-logged in user gets an error on, say /index.php/fr, how can I ensure that the error uses the French language pack?
Thanks!
#2 / Feb 07, 2010 6:07pm
Hi suenovo,
Do you mean a standard EE user error message?
Cheers
Greg
#3 / Feb 07, 2010 6:24pm
Hi Greg,
That’s right, the messages like “Thank you, your password has been reset, etc. etc”.
#4 / Feb 08, 2010 1:12am
suenovo,
The language packs reflect the preference for the logged in user. If you want to create something a bit more custom you could try this extension. That way you can write in conditional user messages per language.
#5 / Feb 08, 2010 12:58pm
Aha, thank you, I’ll check that out!
Without a plugin… Does that mean that on the log in page, the errors for wrong password, etc, will always be in English, since the user isn’t logged in?
#6 / Feb 08, 2010 3:53pm
You can have a default setting, whether it’s English or some other pack, that is used for non logged-in users. Go to My Account > Member Preferences > Use this member’s localization settings as the master site default?