Forums

Multilanguage data in email action.

marcomax 09 Dec, 2016
Hello,

I am trying to create multi language forms using "locales" option.

Everything works fine except:

I have a "send me a copy" email, I need to translate the fields "subject" and the email template too, so they will be localized using the user's language.

In my locales for en_gb I have:

#sendmecopy#=Copy of you email sent to our web site
#fullname#=Full name

I have tried to insert fields into email template and dynamic subject in this way:

dynamic subject: {#sendmecopy#}

In the email template:

#fullname# : {form_name}

But it doesn't work.

Any way to fix this problem?

Thank you!
Max_admin 09 Dec, 2016
Hi Marcomax,

Just tested this here and it worked as expected, do you have the latest update ?

But I used "subject", I don't think that's going to work in "dynamic subject".

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
marcomax 09 Dec, 2016
I moved it in the "subject" as you suggested and it worked.

But it still doesn't work in the email template. Could you make it work there?

My template is:

#fullname#: {input_name}
#email#: {from_email}
#phone#: {input_phone}
#pastetext#: {input_paste_text}

#comments#: {input_comments}

in locales:

#fullname#=Full name
#email#=You email address
#phone#=Your phone number
#pastetext#=Your text
Max_admin 09 Dec, 2016
Answer
Hi marco,

In the locales I have:
#sendmecopy#=Copy of your email sent to our web site

and in the email template I have this:
#sendmecopy#


and it works fine!

Please test with "#fullname#" only in a single line, does it work ?

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
marcomax 09 Dec, 2016
Thank you, everything works fine now!
This topic is locked and no more replies can be posted.