Bilingual site - partly text not translated Contact form

latihan 26 Sep, 2014
Hi, I've a bilingual site (Dutch and English). I use Chronoforms for my Contact Form (v5). On tab Locales I've put the Dutch string texts (sting=translation). This works fine. Only the message wich is above my Form (see attached screenpring => line 1 Display Message) is not translated.
How do I do that?

Thanx
Jan

[attachment=0]2014-09-26 20_14_22-Ask & Receive - Netherlands - Contact Form - Setup - Display Message text.jpg[/attachment]

[attachment=1]2014-09-26 20_16_14-Contact Us - Translation text from Dutch to English.jpg[/attachment]
GreyHead 27 Sep, 2014
Hi latihan,

The second upload didn't make it either.

How are you adding that line of text Are you using a locale string for it?

Bob
latihan 27 Sep, 2014
I'll give it another try, the uploading. Screenprint of tab Setup / On load / Display Message and tab Locales:

[attachment=0]2014-09-27 19_36_37-Ask & Receive - Netherlands - tab Setup - text of Display Message.jpg[/attachment]

[attachment=1]2014-09-27 19_37_44-Ask & Receive - Netherlands - tab Locales - text strings.jpg[/attachment]
latihan 27 Sep, 2014
weird, it still seems not to work. I now have made the size smaller.

[attachment=0]2014-09-27 19_36_37-Ask & Receive - Netherlands - tab Setup - text of Display Message (750 x 384).jpg[/attachment]

[attachment=1]2014-09-27 19_37_44-Ask & Receive - Netherlands - tab Locales - text strings (750 x 563).jpg[/attachment]
latihan 27 Sep, 2014
ok then in this way:
- the text I've put in Setup / On Load / Display Message is:
<h2>Contactformulier</h2>
Vul aub alle gegevens in en uw berichttekst.
Velden met een * zijn verplicht.

and
text in Locales is:
Naam:=Name:
Email-adres:=Email adress:
Onderwerp:=Subject:
Uw bericht:=Message:
Contactformulier=Contact Form

Vul aub alle gegevens in en uw berichttekst. Velden met een * zijn verplicht.=Please fill in all your information and your message text. Fields with a * are required.
GreyHead 28 Sep, 2014
Hi Jan,

One problem is that the text
<h2>Contactformulier</h2>
Vul aub alle gegevens in en uw berichttekst.
Velden met een * zijn verplicht.
is not the same as
Vul aub alle gegevens in en uw berichttekst. Velden met een * zijn verplicht
so the Locale code - which is a simple search and replace - won't match it.

You also have the problem that locale entries have to be on one line.

There are two ways to do this. Using Locales I would do something like this:
Language a
##header##=Contactformulier
##text_1##=Vul aub alle gegevens in en uw berichttekst.br />Velden met een * zijn verplicht.

Language b:
##header##=Contact form
##text_1##=Please fill in all your information and your message text. Fields with a * are required.
and then put in the Custom element
<h2>##header##</h2>
<p>##text_1##</p>

Bob
latihan 29 Sep, 2014
What I did was copying the texts you provided (copy / paste).
Obviously I don't understand you fully, as I don't yet get the reult I want. Sorry, it's all new to me.
Can you please show me what I should do? Thanx.

What I have now is:
Naam:=Name:
Email-adres:=Email adress:
Onderwerp:=Subject:
Uw bericht:=Message:
##header##=Contactformulier
##text_1##=Vul aub alle gegevens in en uw berichttekst.br />Velden met een * zijn verplicht.
##header##=Contact form
##text_1##=Please fill in all your information and your message text. Fields with a * are required.
<h2>##header##</h2>
<p>##text_1##</p>
GreyHead 29 Sep, 2014
Hi latihan,

Where exactly do you have these lines??

Bob
latihan 29 Sep, 2014
Hi Bob,
I've put it in the box Language Strings / tab Locales
GreyHead 29 Sep, 2014
Hi latihan,

Hmmm . . .

This goes in the English language Locale box
##header##=Contact form
##text_1##=Please fill in all your information and your message text.<br />Fields with a * are required.
This into the Dutch Locale box
##header##=Contactformulier
##text_1##=Vul aub alle gegevens in en uw berichttekst.<br />Velden met een * zijn verplicht.
and this into the Custom Element on the Designer tab
<h2>##header##</h2>
<p>##text_1##</p>

Bob
latihan 29 Sep, 2014
Thanx again Bob, the text is now fully translated correctly. Only above the form (in both languages) the word "Custom" is shown.
Here are screenprints of Setup tab and Form on website (that is if the upload gets well this time)
GreyHead 29 Sep, 2014
1 Likes
Hi latihan,

Please open the Custom Element and delete the default label which is 'Custom'. Leave the label box empty.

Bob
latihan 29 Sep, 2014
:lol: Thank you veru much! It works. Couldn't have done it without you. I have abit 😶 but I'm happy that you share your expertise.

gr. Jan
This topic is locked and no more replies can be posted.