java.lang.Object | |
↳ | com.atlassian.jira.config.DefaultLocaleManager |
[Expand]
Inherited Constants | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a set of locales supported by this JIRA instance.
| |||||||||||
Returns a mapping of localeString to its displayname.
| |||||||||||
Given a string, return the corresponding Locale.
| |||||||||||
Returns the locale for the given user.
| |||||||||||
Given a user entered locale string this method ensures that it is in fact a locale that
exists in this instance
|
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||
![]()
|
Returns a set of locales supported by this JIRA instance. This is typically the language packs installed.
Returns a mapping of localeString to its displayname. Also includes a 'Default' locale.
defaultLocale | The locale to use as the default |
---|---|
i18nHelper | Required to internationalize the 'Default' |
Given a string, return the corresponding Locale.
locale | Locale in string form |
---|
Locale
object
Returns the locale for the given user.
user | The user |
---|
Given a user entered locale string this method ensures that it is in fact a locale that exists in this instance
loggedInUser | The user performing the operation |
---|---|
locale | the locale String to validate (e.g. en_UK) |
errorCollection | Error collection to record errors in |