Hi glambrecht ,
Have you added Multi-Language actions to the On Submit event?
Bob
No I had only the ones ON LOAD
Now I have - and some of it is ok
the thanks message on the web i fine both in English and German
but the mail to the user - only has translated half of the message!
this is what I have in the form:
KÆRE=DEAR
TAK FOR DIN BESKED=THANKS FOR YOUR MESSAGE
DU HØRER FRA MIG MEGET HURTIGT=I WILL ANSWER VERY SOON
VENLIG HILSEN=BEST REGARDS
VI SVARER DIG HURTIGST MULIGT= WE WILL REPLY SHORTLY
SEND=SEND
RYD=CLEAR
and this is the message, I get by mail:
KÆRE GRETHE, (KÆRE is not translated)
THANKS FOR YOUR MESSAGE.
DU HØRER FRA MIG MEGET HURTIGT. (this sentence is not translated)
BEST REGARDS
TIENDEGAARDEN
SUSANNE NØHR
in backend - I found out that it was about the Danish (and Norwegian) letters æ, ø and å
when I changed them it was all right.
BUT MUCH WORSEyou cannot fill out the form as a customer, if you have a name with æ, ø or å - and that is
really bad - as 20% of our names are with æ, ø or å - and a customer, just wanting to book a
room has no chance of knowing why she cannot fill out the form
I've put in the code as stated above - so now there's a new problem:
when I fill out the form (without Æ, Ø or Å)
I get this message on the website:
Parse error: syntax error, unexpected '.'
/home/www/tiendegaarden.dk/administrator/components/com_chronoforms/form_actions/custom_serverside _validation/custom_serverside_validation.php(16) : eval()'d code on line 6
TAK FOR DIN BESKED. VI SVARER DIG HURTIGST MULIGT
Powered By ChronoForms - ChronoEngine.com
where is the problem?
is it the confirmation mail to the customer? which in line 6 contains Ø as this IS the name of the owner of the site
"KAERE grethe lambrecht,
TAK FOR DIN BESKED.
DU KAN VENTE SVAR FRA MIG MEGET HURTIGT.
VENLIG HILSEN
TIENDEGAARDEN
SUSANNE NØHR"
(if so - I cannot use this validation in my form)
HI glambrecht,
There's a stray . at the end of line 6 please delete it.
Bob
PS I've updated the original post.
??? THERE'S NO STRAY
I just put " " around the text to show you!
what about Æ Ø Å?
sorry my mistake
(I was not shouting - but had capitals on, as I was translating in the form)
will look again
Thanks I found it
and found out how to use Æ Ø Å - in front end (not in back end mails) - but this was the most important
Hi glambrecht,
In the Emails I think you can use HTML entities, copy and paste, or use the rich text editor. Any of these should allow you to use almost any character.
Bob