public interface LanguageManager
Modifier and Type | Method and Description |
---|---|
Language |
getGlobalDefaultLanguage()
Returns the language enabled as the global default.
|
Language |
getLanguage(String languageKey)
Retrieves the Language for the given key
Null is returned when a plugin with languageKey could not be found, or it was not a Language
|
List<Language> |
getLanguages()
Returns a list of Language objects, representing the currently loaded languages
|
Language getLanguage(String languageKey)
languageKey
- The key to retrieve the language forList<Language> getLanguages()
The en_GB locale is also added to the list
The sorting for this list is undefined.
Language getGlobalDefaultLanguage()
Copyright © 2003–2018 Atlassian. All rights reserved.