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.

registration form and site messages in multiple languages

May 16, 2011 4:00pm

Subscribe [3]
  • #1 / May 16, 2011 4:00pm

    phoebe_reed

    82 posts

    Hi all,
    We’re still struggling with some multi-language issues in a 3 language site we’re building. 

    I need to have the registration confirmation for a user be in one of 3 languages. The bad news is—I haven’t figure out how to do this yet.  The good news is that I have a number of methods by which I can pass information or set up the system so that the system knows which language or tempalte or translatino to use.  I just don’t have, yet, an idea of how to generate more than one registration confirmation message—different templates, one template with different translations, custom messages taht are triggered for different langauges.

    Has anyone had experience with this, or have any suggestions?  I think multi-language sites in expressionengine are both fun and challenging… would love to talk to anyone who has a successful build up and running. 

    thanks much.

    Phoebe

  • #2 / May 17, 2011 2:57am

    John Henry Donovan

    12339 posts

    Hi Phoebe,

    Custom System Messages allows you to use regular templates for system messages. This way you can use what you already have in those templates to give you the correct translation

    Does that help?

  • #3 / May 18, 2011 2:10pm

    phoebe_reed

    82 posts

    Yes, I am using that—I need to re-check, but because of parsing order, I don’t believe I can get the translation logic into th template.  Only allows one template to be sent, and that template needs to know which language to use, and then to show only that text.

  • #4 / May 19, 2011 6:30am

    John Henry Donovan

    12339 posts

    Phoebe,

    It depends how you have your site set-up for multi-language.

    If you had something similar to this setup and had a global variable available called country_code then in that template if you could have

    {{country_code}_error_message}

    Which would return the correct phrase for you

  • #5 / May 19, 2011 11:51am

    phoebe_reed

    82 posts

    Yea, I use exactly that setup—I carry the {country_code} variable in the templates, in the URL, and it works great for everything - channels, translations, etc.

    I still am missing a piece here, though—I’m not sure how to generate any of hte system emails—like member confirmation and welcome messages - in one of three languages. I think there is a step or element that I’m not understanding, but I can’t see how to do it yet….

    thanks for your help.

    Phoebe

  • #6 / May 19, 2011 12:13pm

    John Henry Donovan

    12339 posts

    Phoebe ,

    Moving to Community Help as now more appropriate here.

    Ah ok for emails notifications take a look at MX Notify control. You can specify templates for different email notifications

    The above I mentioned is just for system messages

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

ExpressionEngine News!

#eecms, #events, #releases