Forums

ChronoForms v6 Multilanguage

francescocartei 13 Jun, 2017
Hi,
I have to build a multilingual contact form. How can I do?
Max_admin 13 Jun, 2017
Hi Armand,

Go under the "Locales" tab, set your language tag, say it_IT, fr_FR or de_DE (must be in this format) then write the language strings:

test=My test string

Now in your form field or email or anywhere you can use {l:test} and that will be replaced by "My test string", assuming that the active site language is either it_IT, fr_FR or de_DE

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
francescocartei 21 Jun, 2017
Thanks🙂
Can I change languages ​​through Joomla override instead of "Locales"?
Max_admin 21 Jun, 2017
Hi Armand,

The Joomla override requires a PHP function call in order to get the translation, this is not possible to use every where in your form (it can be done through a PHP action call but this is an unnecessary step), so its better to use the built in Locales feature.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
folk86 04 Jul, 2017
Hi Max,

the translation function work in dropdown element?

I do this:
1) setup the en_GB locale

CHOOSE_POSITION_FIRST=Teacher/Professor
CHOOSE_POSITION_SECOND=Other school staff
CHOOSE_POSITION_THIRD=Parent or legal guardian of the minor

2) put in on dropdown element this "code"

insegnante={l:CHOOSE_POSITION_FIRST}
altro_personale={l:CHOOSE_POSITION_SECOND}
genitore={l:CHOOSE_POSITION_THIRD}

but the result is (see image attached)...


Thank you in advice!

Simone
Max_admin 04 Jul, 2017
Hi Simone,

Do you have the latest update ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
folk86 05 Jul, 2017
1 Likes
Hi Max,

your software is ok, I made a mistake. When I recharged the web page the language has changed to one without translation. I'm sorry.
Yesterday I saw my error but I could not write in this forum ( "max 1 post not approved" policy ).


Thank you!
Have a nice day!

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