Hi,
I'm using v3.2
There is one form that I'd like to have in two languages.
I tried the tutorial and you can translate the labels.
But are the following things possible:
1) Translate the messages in jsvalidation2.js like 'This field is required'
Can this be done with just adding a language file (ini)?
2) If it's not possible like asked in 1, would it be possible to do something in jsvalidation2.js where you have this code:
Perhaps check which language is selected by looking at index.php?lang=en or index.php?lang=nl
And just using a If-structure in the js file.
3) If there is a other or better way to do this, please let me know.
Thanks.
I'm using v3.2
There is one form that I'd like to have in two languages.
I tried the tutorial and you can translate the labels.
But are the following things possible:
1) Translate the messages in jsvalidation2.js like 'This field is required'
Can this be done with just adding a language file (ini)?
2) If it's not possible like asked in 1, would it be possible to do something in jsvalidation2.js where you have this code:
$ES('input', $(chronoformname)).each(function(field){
var message_required = 'This field is required';
var message_validate_number = 'Please enter a valid number in this field.';
Perhaps check which language is selected by looking at index.php?lang=en or index.php?lang=nl
And just using a If-structure in the js file.
3) If there is a other or better way to do this, please let me know.
Thanks.