getCurrentLocale

getCurrentLocale(): Locale;

The getCurrentLocale method of the WebSession class returns the locale of the session object.

The locale is set from information returned by the browser when the session object is created. If the locale of the browser is not defined in the JADE system, then the default locale of the current schema is used. You can override the locale programmatically using the setCurrentLocale method.