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