sets the locale in use
name | string | the locale name |
webix.i18n.setLocale("en-US")
The method can take only one of a predefined set of values (locale names):
Webix Pro edition includes over 300 locales to match a great variety of cultures.
The method can be used to apply the changes done to the locale in use.
webix.i18n.parseFormat = "%d-%m-%Y";
webix.i18n.setLocale("en-US");
But the method is not enough for switching locales dynamically. After setting another locale, you need to recreate the view (see the related sample).
Back to top