Check documentation for the latest version of dhtmlxSuite langData DHTMLX Docs

langData

here you can keep your custom calendar languages

object langData;

Example

dhtmlXCalendarObject.prototype.langData["de"] = {
    dateformat: "%d.%m.%Y",
    monthesFNames: [
        "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli",
        "August", "September", "Oktober", "November", "Dezember"
    ],
    monthesSNames: [
        "Jan", "Feb", "Mär", "Apr", "Mai", "Jun",
        "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"
    ],
    daysFNames: [
        "Sonntag", "Montag", "Dienstag", "Mittwoch",
        "Donnerstag", "Freitag", "Samstag"
    ],
    daysSNames: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
    weekstart: 1,
    weekname: "w"
};
 
// init calendar
var myCalendar = new dhtmlXCalendarObject();
 
// apply language settings
myCalendar.loadUserLanguage("de");

Back to top