locale
sets object with locale structure
object locale;
Example
webix.ui({
view: "chat",
locale: {
lang: "ru",
webix: {
"ru":"ru-RU"
}
}
// other properties
});
Related samples
Details
The object can have the following properties:
- lang (string) - name of the current Jet locale in use
- webix (object) - an object that sets the correspondence between Jet
and Webix locale names.It is necessary to translate all the labels of inner
Webix components within the widget.
See also
Back to top