Class GroovyLanguageConstants.GLCApplications
java.lang.Object
de.uplanet.lucy.server.i18n.scripting.groovy.GroovyLanguageConstants.GLCApplications
- Enclosing class:
- GroovyLanguageConstants
-
Method Summary
Modifier and TypeMethodDescriptionGet the value of the given application language constant.Get the value of the given application language constant.Get the fallback language that is used when a language constant is not found in thecontext language
.Get the context language set for this object.Get the application language constants for the specified language.
-
Method Details
-
getLanguage
Get the context language set for this object.- Returns:
- The context language.
-
getFallbackLanguage
Get the fallback language that is used when a language constant is not found in thecontext language
.Usually this is the portal's default language.
- Returns:
- The default language.
-
language
Get the application language constants for the specified language.This can be useful when another than the predefined context language should be used.
- Parameters:
p_strLang
- The language.- Returns:
- The language constants for the specified language.
-
getAt
Get the value of the given application language constant. If there is no value for the given key in the context language, the fallback language is used. If no fallback is availablenull
will be returned.- Parameters:
p_strKey
- The key.- Returns:
- The localized string.
-
get
Get the value of the given application language constant. If there is no value for the given key in the context language, the fallback language is used. If no fallback is availablenull
will be returned.- Parameters:
p_strKey
- The key.- Returns:
- The localized string.
-