ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I trigger error messages, etc, in a particular language?

February 07, 2010 5:20pm

Subscribe [5]
  • #1 / Feb 07, 2010 5:20pm

    suenovo

    10 posts

    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

    Greg Salt

    3988 posts

    Hi suenovo,

    Do you mean a standard EE user error message?

    Cheers

    Greg

  • #3 / Feb 07, 2010 6:24pm

    suenovo

    10 posts

    Hi Greg,
    That’s right, the messages like “Thank you, your password has been reset, etc. etc”.

  • #4 / Feb 08, 2010 1:12am

    John Henry Donovan

    12339 posts

    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

    suenovo

    10 posts

    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

    Ingmar

    29245 posts

    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?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases