Hello,
Someone know if I can translate a form of Chrono Forms? with Joomfish?
It is possible?
If not is possible, what can I do to show a diferent form in differents languages?
Thanks, excuse my English, I am spanish.
Hi Serie3,
I imagine that you could do this with JoomFish though I've never tried. I think that there is a post in the forums here is you search for it.
Otherwise you could set up the form to check the users language preference; or have several similar forms with different languages.
Bob
Hi,
You can use the variable $mosConfig_lang to check for the current running language and change form based on that, thats really too easy!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks Mbsnake for sharing this!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thanks, looks like you solved my problem too. sorry i'm not a programmer, where do i have to put/change this code???
tanak you!
Hi pino,
I'm not sure, I think probably you put it at the beginning of the form code so that it will switch to the other version of the form automatically.
Bob
Hi Pino,
Something like this :
<?
if (strcmp($GLOBALS["mosConfig_lang"],'english')==0){
?>
This is my English form code!!
<?php } ?>
<?
if (strcmp($GLOBALS["mosConfig_lang"],'italian')==0){
?>
This is my Italian form code!!
<?php } ?>
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.