Check documentation for the latest version 6.0 of dhtmlxSuite loadUserLanguage DHTMLX Docs

loadUserLanguage

sets a new language interface for DataSelector

void loadUserLanguage(string lang);

Parameters

langstringthe name of a language

Example

// add once, make sure that dhtmlxdataselector.js is loaded
dhtmlXDataSelector.prototype.langData["fr"] = {
    // the "OK" button
    ok: "Sélectionner", 
    // the "Cancel" button
    cancel: "Annuler", 
    // the text of the header
    caption: "Sélectionnez un utilisateur"
};
 
// initialize fileselector
var myDataSelector = new dhtmlXDataSelector();
myDataSelector.loadUserLanguage("fr");

Back to top