Change the language of the input Calendar PARADISE v2

At the bottom of the page (rooms.html for ex.), replace these lines of code:

 

<script>
$(document).ready(function(){
$(“:date”).dateinput();
});
$(“:date”).dateinput({ trigger: true, format: ‘dd/mm/yy’, min: -1 })
$(“:date:first”).data(“dateinput”).change(function() {
$(“:date:last”).data(“dateinput”).setMin(this.getValue(), false);
});
</script>
<script >
jQuery().ready(function() {
jQuery.validator.methods.date = function(value, element) {
return this.optional(element) || !/Invalid|NaN/.test(new Date(value)) || /^(\d+)\/(\d+)\/(\d{2,})$/.test(value);
}
});
</script>

 

WITH THESE….

<script>// <![CDATA[
$.tools.dateinput.localize("fr", {
months: 'janvier,f&eacute;vrier,mars,avril,mai,juin,juillet,' +
'ao&ucirc;t,septembre,octobre,novembre,d&eacute;cembre',
shortMonths: 'jan,f&eacute;v,mar,avr,mai,jun,jul,' +
'ao&ucirc;,sep,oct,nov,d&eacute;c',
days: 'dimanche,lundi,mardi,mercredi,jeudi,vendredi,samedi',
shortDays: 'dim,lun,mar,mer,jeu,ven,sam'
});
// ]]></script>
<script>
$(document).ready(function(){
$(“:date”).dateinput();
});
$(“:date”).dateinput({ trigger: true, format: ‘dd/mm/yy’, min: -1, lang: ‘fr’ })
$(“:date:first”).data(“dateinput”).change(function() {
$(“:date:last”).data(“dateinput”).setMin(this.getValue(), false);
});
</script>
<script >
jQuery().ready(function() {
jQuery.validator.methods.date = function(value, element) {
return this.optional(element) || !/Invalid|NaN/.test(new Date(value)) || /^(\d+)\/(\d+)\/(\d{2,})$/.test(value);
}
});
</script>

 

1