LocaleManager interface or LocaleParser instead.public class JiraLocaleUtils
extends com.atlassian.core.util.LocaleUtils
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOCALE_I18N_KEY
Deprecated.
|
static String |
DEFAULT_LOCALE_ID
Deprecated.
|
| Constructor and Description |
|---|
JiraLocaleUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Locale> |
calculateAvailableLocales(Locale userLocale)
Deprecated.
|
List<Locale> |
getInstalledLocales()
Deprecated.
Use
LocaleManager.getInstalledLocales() ) instead. Since v4.2 |
Map<String,String> |
getInstalledLocalesWithDefault(Locale defaultLocale,
I18nHelper helper)
Deprecated.
Use
LocaleManager.getInstalledLocalesWithDefault(java.util.Locale,
com.atlassian.jira.util.I18nHelper) ) instead. Since v4.2 |
static Locale |
parseLocale(String locale)
Deprecated.
Use {@link com.atlassian.jira.util.LocaleParser#parseLocale) instead. Since v4.2
|
void |
resetInstalledLocales()
Deprecated.
|
public static final String DEFAULT_LOCALE_ID
public static final String DEFAULT_LOCALE_I18N_KEY
public List<Locale> getInstalledLocales()
LocaleManager.getInstalledLocales() ) instead. Since v4.2getInstalledLocales in class com.atlassian.core.util.LocaleUtilspublic void resetInstalledLocales()
public Map<String,String> getInstalledLocalesWithDefault(Locale defaultLocale, I18nHelper helper)
LocaleManager.getInstalledLocalesWithDefault(java.util.Locale,
com.atlassian.jira.util.I18nHelper) ) instead. Since v4.2The display name for each locale is written in that same locale to ensure that users are able to identify their own language.
defaultLocale - default localehelper - i18n helperpublic static Locale parseLocale(String locale)
locale - localeCopyright © 2002-2018 Atlassian. All Rights Reserved.