Jquery plugin localisation nightmare
Hi guys, I got a plugin I want to do the localisation in french of my inline form validator. I decided to go with a similar solution of the UI datepicker.
Adding a french js. But it just do not work and i don't have a clue how.
Live english version :
http://www.position-relative.net/formValidator/test.html
The core js :
jQuery.fn.validationEngine = function(settings) {
allRules = {"required":{ // Add your regex rules here, you can take telephone as an example
"regex":"none",
"alertText":"* This field is required"}
}
..............................
});
The French js:
jQuery(function($){
$.validationEngine.allRules = {"required":{ "regex":"none",
"alertText":"* Ce champs est requis"} }
});