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.
The method can be used to apply the changes done to the locale in use.
webix.i18n.parseFormat = "%d-%m-%Y";
webix.i18n.setLocale();
setLocale() must be used before rendering the UI widgets. Calling setLocale() after widgets are rendered will not force locale update in the already rendered UI. You will need to recreate views to apply new locale settings.