Hello, I am having trouble doign the translation of my form. I know i have to implement the language change in the nl-NL.com_chronocontact.ini in the chronoform template. But how do i initiate that file. I currently don't have that in my language folder. I know it may be a stupid question 😶 but I am so confused on where I would implement the language change. And everytime all i get is this error message.
"There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management "
Please help!
Hi val,
The error message is probably because you haven't published the form in the Forms Manager. If your site default language is Dutch you can download an nl-NL... file from the Downloads area here and copy it into your languages folder.
Bob
Hi val,
you can also add something like this to your form code :
SOMELANGTEXT and then open the main joomla language file for the any language and do this :
SOMELANGTEXT=My text here
for example, the English main file is : language/en-GB/en-GB.ini
and open the spanish main lang file and do this :
SOMELANGTEXT=mi text aqui
and so on!
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi val,
The link you posted says "lang=en" so it probably won't show the nl language version.
Bob
Hi Val,
Just read back through the thread and I'm confused - exactly what are you trying to do here?
Bob
I am trying to translate the form from english to french. The enlgish works great, but go to the page in French I get an error of
"There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management " so do i need to create a new form in French and link it to the translated version?
Hi val,
sorry for the delay, been out!
paste this code in a new form please:
<DIV class=form_item >
<DIV class="form_element cf_heading" >
<H1 class=cf_text id="" >Contact Us</H1></DIV>
<DIV class=clear >Â </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label ><?php echo JText::_( 'NAME'); ?></LABEL><INPUT class="cf_inputbox required validate-alpha validate-alphanum" id=text_6 maxLength=150 size=30 name=text_6 autocomplete="off" ></DIV>
<DIV class=clear >Â </DIV></DIV>
<DIV class=form_item >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label ><?php echo JText::_( 'COMPANY'); ?></LABEL><INPUT class="cf_inputbox required validate-alpha" id=text_7 maxLength=150 size=30 name=text_7 autocomplete="off"></DIV>
<DIV class=clear >Â </DIV></DIV>
now view your form in English, what can you see ?
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
When i put that code in a new form in english I get...
Contact Us
Name with a text box
Company with a text box.
It Works thank you guys so much!😀
I implemented part of the code to my form once I saw it works on the test form. And it works! 😀
But I would like to know, what did I do wrong? I just would like to know for future knowledge.
Val
Hi Val,
may be you missed a quote or some thing, we can't tell, be aware also that for other non common texts like (your monthly income) for example, you will need to add them to your language file to get translated!
Regards
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?