You are here

getLocale

getLocale returns the locale string for the current thread.

Returns

Returns the locale string for the current thread.

Example

        var localeString = utils.getLocale();
      

The preceding code snippet would return a locale string such as en_US.