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.

Are multilingual system messages possible?

June 21, 2012 8:23am

Subscribe [2]
  • #1 / Jun 21, 2012 8:23am

    John St-Amand

    865 posts

    Hi all - question for you multilingual gurus out there.  Can EE’s system messages be multilingual?  There are a few circumstances in which I have a system message exposed - Firemail, since it uses EE’s native mailing list module, after subscribing displays a system message of:

    Thank You!
    
    You have been sent a confirmation email.
    
    Please click the link contained in the email to activate your mailing list account.
    
    Link

    All of that content is three variables - heading, content and link.  Given that they are global system variables, I’m supposing that i may be able to replace them - so is this done in index.php within each site’s language folder?  That’s the multilingual approach I’ve taken - the fairly traditional route with an index.php file within each language folder (en, fr, etc) and a few global variables defined in that file.  Are the system messages also controlled this way?  It makes that content inaccessible to the client though, so if there’s a better way to handle it, I’d love to hear it.

  • #2 / Jun 21, 2012 10:08am

    HotLimbo

    67 posts

    Yes. That can be done.

    Go to your expression engine installation. There is a folder there called language. You will find therein at least one folder: “english”. You can create another language folder called “french” and translate the files in the “english” folder.

    However, all of this is explained in the EE documentation. Have you searched that?

  • #3 / Jun 21, 2012 4:33pm

    John St-Amand

    865 posts

    Yes, I’ve reviewed the documentation and found the downloadable language packs.  What’s not clear to me just yet is now to assign a language pack to a given multilingual segment, based on the primary multilingual approach of making a duplicate copy of index.php for each language segment (en, fr, etc.) with certain key variables set in that file.  I suspect I’ll figure it out though. Thanks for the input.

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

ExpressionEngine News!

#eecms, #events, #releases