public interface LocaleManager
Modifier and Type | Field and Description |
---|---|
static Locale |
DEFAULT_LOCALE |
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale(com.atlassian.user.User user) |
Locale |
getSiteDefaultLocale() |
void |
setLanguage(String language)
Should set the language string as given by Locale (en-gb for example) in a THREAD LOCAL cache.
|
void |
setRequestLanguages(String languageString)
Should set the language string from the request in a THREAD LOCAL cache.
|
static final Locale DEFAULT_LOCALE
Locale getLocale(com.atlassian.user.User user)
void setRequestLanguages(String languageString)
languageString
- void setLanguage(String language)
language
- Locale getSiteDefaultLocale()
DEFAULT_LOCALE
if none is set.Copyright © 2003–2016 Atlassian. All rights reserved.