Change the language of the calendar days and months PARADISE V.1

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

<script type=”text/javascript”>// <![CDATA[
$(document).ready(function(){
$("#myform").validate();
$(":date").dateinput();
});
// ]]></script>

with these

<script type=”text/javascript”>// <![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 type=”text/javascript”>// <![CDATA[
$(document).ready(function(){
$("#myform").validate();
$(":date").dateinput({
lang: 'fr',
format: 'dddd dd, mmmm yyyy',
offset: [30, 0],
firstDay: 1
});
});

// ]]></script>

0