Hi Forum,
By entering alpha characters on a field that require numbers this message will displayed : "This field must be set to a number", or "Please enter a valid number"
How can be translated to spanish (where is the table of validation messages located)?
How can be a new language table added for validation messages in spanish.
Thank you all
By entering alpha characters on a field that require numbers this message will displayed : "This field must be set to a number", or "Please enter a valid number"
How can be translated to spanish (where is the table of validation messages located)?
How can be a new language table added for validation messages in spanish.
Thank you all
Hello rotocal,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I change the language used in Validation messages?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I change the language used in Validation messages?
P.S: I'm just an automated service😉
Already tried as per suggeted:
<?php
$lang = JFactory::getLanguage();
$tag = $lang->getTag();
$tag = substr( $tag, 0, 2 );
$this->form_params->set('jsvalidation_lang', $tag); // Not sure if it's right????
?>
In addition I didn't find the folder:
components/com_chronoforms/js/formcheck/lang .... with the files en.js - or - es.js
<?php
$lang = JFactory::getLanguage();
$tag = $lang->getTag();
$tag = substr( $tag, 0, 2 );
$this->form_params->set('jsvalidation_lang', $tag); // Not sure if it's right????
?>
In addition I didn't find the folder:
components/com_chronoforms/js/formcheck/lang .... with the files en.js - or - es.js
Hi rotocal,
You are using the "Validation rules" box or the new switches in the latest forms update ?
You can translate any string in the form using the locales shortcode: {l:some_string} and define the value of "some_string" under the "Locales" section under the language tag you desire.
Best regards,
Max
You are using the "Validation rules" box or the new switches in the latest forms update ?
You can translate any string in the form using the locales shortcode: {l:some_string} and define the value of "some_string" under the "Locales" section under the language tag you desire.
Best regards,
Max
This topic is locked and no more replies can be posted.