defines the default language for all DataSelector instances
// way 1
// add settings for custom language
dhtmlXDataSelector.prototype.langData["fr"] = {
...
};
// initialize DataSelector
var myDataSelector = new dhtmlXDataSelector(...);
// apply language settings
myDataSelector.loadUserLanguage("fr");
// way 2 - simply change the lang property once, before init
// add settings for custom language
dhtmlXDataSelector.prototype.langData["fr"] = {
...
};
// make custom language default
dhtmlXDataSelector.prototype.lang = "fr";
// initialize DataSelector
// this instance will be initialized in French
var myDataSelector = new dhtmlXDataSelector(...);
Back to top