Set Calendar Language trough XML

Hi,

Is there any way to set the calendar language trough XML.
I added this to the bottom of the dhtmlx.js file.

dhtmlXCalendarObject.prototype.langData["nl"] = {
    // full names of months
    monthesFNames: [
        "Januari","Februari","Maart","April","Mei","Juni","Juli",
        "Augustus","September","Oktober","November","December"
    ],
    // short names of months
    monthesSNames: [
        "Jan","Feb","Maa","Apr","Mei","Jun",
        "Jul","Aug","Sep","Okt","Nov","Dec"
    ],
    // full names of days
    daysFNames: [
        "Zondag","Maandag","Dinsdag","Woensdag",
        "Donderdag","Vrijdag","Zaterdag"
    ],
    // short names of days
    daysSNames: [
        "Zo","Ma","Di","Wo",
        "Do","Vr","Za"
    ],
    // starting day of a week. Number from 1(Monday) to 7(Sunday)
    weekstart: 1, 
    // the title of the week number column
    weekname: "w" 
};

Any solutions for this?

Hi

you also need to force calendar use it, i.e.

myCalendar.loadUserLanguage("nl"); // or dhtmlXCalendarObject.prototype.lang = "nl";

more docs: docs.dhtmlx.com/calendar__locali … endar.html