sets a new language interface for FileSelector
lang | string | the name of a language |
// add once, make sure that dhtmlxfileselector.js is loaded
dhtmlXFileSelector.prototype.langData["fr"] = {
// the "OK" button's name
ok: "Sélectionner",
// the "Cancel" button's name
cancel: "Annuler",
// the text of window's caption
caption: "Sélectionnez le Fichier",
// the title of the "Name" column
col_name: "Nom",
// the title of the "Size" column
col_size: "Taille"
};
// initialize fileselector
var myFileSelector = new dhtmlXFileSelector();
myFileSelector.loadUserLanguage("fr");
Back to top