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.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.