Translate DatePicker

How to translate the elements of the DatePicker component?

You should redefine elements of dhx.Date.Locale before calendar init. The default Locale is

dhx.Date.Locale = { month_full:["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month_short:["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], day_full:["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], day_short:["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] };

Here is how month_full can be applied:

[code]dhx.Date.Locale.month_full = [“Janvier”, “Février”, “Mars”, “Avril”, “Mai”, “Juin”, “Juillet”, “Août”, “Septembre”, “Octobre”, “Novembre”, “Décembre”];

var ui = dhx.ui({

{ view:“datepicker”, … },

});[/code]

Thanks… worked just right…

Thanks :smiley: