public interface IGlobalization extends IBaseApplication
| Modifier and Type | Method and Description |
|---|---|
Locale |
getDefaultLocale()
Returns the default locale of the application defined in the configuration file
|
Locale[] |
getLocaleSupportedDescriptors()
List of supported locales for the application defined in the configuration file
|
java.lang.String |
getResourceLiteral(java.lang.String key,
Locale locale)
Gets the text/message corresponding to the given key and locale.
|
KeyPair[] |
getResourceLiterals(Locale locale)
Gets the full application configured literals (key/message pairs) corresponding to the given locale.
|
getAPIGroup, getAPIVersionLocale getDefaultLocale()
Locale[] getLocaleSupportedDescriptors()
java.lang.String getResourceLiteral(java.lang.String key,
Locale locale)
key - to match textlocale - The locale object to get localized message, or the locale desciptor ("language" or "language-country" two-letters ISO codes.KeyPair[] getResourceLiterals(Locale locale)
locale - The locale object to get localized message, or the locale desciptor ("language" or "language-country" two-letters ISO codes.