ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Help

val 18 Nov, 2008
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!
GreyHead 18 Nov, 2008
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
Max_admin 18 Nov, 2008
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 ?
val 19 Nov, 2008
Hello again,

I have tried the both ways and it still doesn't work unless I am not doing it right. Here is what I have. I have downloaded the nl-NL files from here, and uploaded them into the language files. I have also tried the SOMELANGTEXT, but still nothing. The contact page is published it's when I go to change the language there is nothing. The following is the link to my page that I have this problem with.

http://acmemonsters.com/index.php?option=com_chronocontact&Itemid=103&lang=en

<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 >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 >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>
<DIV class=form_item   >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Phone Number</LABEL><INPUT class="cf_inputbox required validate-alphanum" id=text_8  maxLength=150 size=30 name=text_8 autocomplete="off"></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >E Mail</LABEL><INPUT class="cf_inputbox validate-email" id=text_9  maxLength=150 size=30 name=text_9 autocomplete="off"></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Confirm E Mail</LABEL><INPUT class="cf_inputbox required validate-email" id=text_10  maxLength=150 size=30 name=text_10 autocomplete="off"></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_textbox" ><LABEL class=cf_label >Subject</LABEL><INPUT class="cf_inputbox required validate-alpha validate-alphanum" id=text_11  maxLength=150 size=30 name=text_11 autocomplete="off"></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_textarea" ><LABEL class=cf_label >Request or Query</LABEL><TEXTAREA class=cf_inputbox id=text_2 name=text_2 rows=25 cols=50 ></TEXTAREA></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_captcha" ><LABEL class=cf_label ><?php echo JText::_( 'Verification' ) ?></LABEL><SPAN >{imageverification}</SPAN></DIV>
<DIV class=clear > </DIV></DIV>
<DIV class=form_item   >
<DIV class="form_element cf_button" ><INPUT  type=submit value=Submit ></DIV>
<DIV class=clear > </DIV></DIV>

That is the code of my form to make it work. There is the original, as well as the "<?php echo JText::_" which also works. But I get nothing on the translated page. I hope this helps in trying to figure out this problem.

I am sorry if i am being a pain with this.
GreyHead 19 Nov, 2008
Hi val,

The link you posted says "lang=en" so it probably won't show the nl language version.

Bob
GreyHead 19 Nov, 2008
Hi Val,

Just read back through the thread and I'm confused - exactly what are you trying to do here?

Bob
val 19 Nov, 2008
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?
Max_admin 19 Nov, 2008
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 ?
val 20 Nov, 2008
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.
val 20 Nov, 2008
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
Max_admin 20 Nov, 2008
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 ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com