public interface TranslationHandler
| Modifier and Type | Method and Description |
|---|---|
java.util.ResourceBundle |
getBuiltinResourceBundle(BuiltinLanguage language,
Module module)
Returns the built-in resource bundle for the given language and module.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomizedKeys(long languageId)
Returns the customized keys for the given language's id
|
org.cyclos.impl.contentmanagement.CyclosResourceBundle |
getOriginalEnglishResourceBundle()
Returns the
CyclosResourceBundle with the original English keys |
org.cyclos.impl.contentmanagement.CyclosResourceBundle |
getResourceBundle()
Returns the
CyclosResourceBundle for the current user |
org.cyclos.impl.contentmanagement.CyclosResourceBundle |
getResourceBundle(Language language)
Returns the
CyclosResourceBundle for the given language |
java.lang.String |
message(Language language,
MessageKey key,
java.lang.Object... arguments)
Returns a translation message for the given language, applying the given arguments, if any
|
java.lang.String |
message(MessageFormat messageFormat,
Language language,
MessageKey key,
java.lang.Object... arguments)
Returns a translation message for the given language, applying the given arguments, if any
and formatting the message according to the given message format
|
java.lang.String |
message(MessageFormat messageFormat,
MessageKey key,
java.lang.Object... arguments)
Returns a translation message for the current user's language, applying the given arguments, if any
and formatting the message according to the given message format
|
java.lang.String |
message(MessageKey key,
java.lang.Object... arguments)
Returns a translation message for the current user's language, applying the given arguments, if any
|
java.util.ResourceBundle getBuiltinResourceBundle(BuiltinLanguage language, Module module)
java.util.Map<java.lang.String,java.lang.String> getCustomizedKeys(long languageId)
org.cyclos.impl.contentmanagement.CyclosResourceBundle getOriginalEnglishResourceBundle()
CyclosResourceBundle with the original English keysorg.cyclos.impl.contentmanagement.CyclosResourceBundle getResourceBundle()
CyclosResourceBundle for the current userorg.cyclos.impl.contentmanagement.CyclosResourceBundle getResourceBundle(Language language)
CyclosResourceBundle for the given languagejava.lang.String message(Language language, MessageKey key, java.lang.Object... arguments)
java.lang.String message(MessageFormat messageFormat, Language language, MessageKey key, java.lang.Object... arguments)
java.lang.String message(MessageFormat messageFormat, MessageKey key, java.lang.Object... arguments)
java.lang.String message(MessageKey key, java.lang.Object... arguments)