Check documentation for the latest version of dhtmlxSuite loadUserLanguage DHTMLX Docs

loadUserLanguage

sets a new language interface for dhtmlXColorPicker

void loadUserLanguage(string lang);
langstringlanguage (e.g. "en-us" or "ru")

Example

dhtmlXColorPicker.prototype.i18n["en-us"] = {
      langname: "en-us",
      labelHue : "Hue",
      labelSat : "Sat", 
      labelLum : "Lum",
      labelRed : "Red", 
      labelGreen : "Green",
      labelBlue : "Blue",
      btnAddColor : "Add to Custom Colors",
      btnSelect : "Select",
      btnCancel : "Cancel"
};
 
var myColorPicker = dhtmlXColorPicker(["input1"]);
 
myColorPicker.loadUserLanguage("en-us");

See also
Back to top