locale

sets object with locale structure

object locale;

Example

webix.ui({
    view: "query",
    locale: {
      lang: "it",
      webix: {
        "it":"it-IT"
      }
    }
    // 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