public interface TranslationService
I18nizer
or SimpleTranslator
instead.I18nizer
,
SimpleTranslator
Modifier and Type | Method and Description |
---|---|
void |
reloadMessageBundles()
Allows to reload all the message bundles - useful in development.
|
String |
translate(LocaleProvider localeProvider,
String[] keys) |
String |
translate(LocaleProvider localeProvider,
String basename,
String[] keys)
Deprecated.
should not be using a basename. Currently in use for backwards compatibility.
|
String translate(LocaleProvider localeProvider, String[] keys)
String translate(LocaleProvider localeProvider, String basename, String[] keys)
basename
- Usage of a basename is deprecated since 5.1. This method is here to allow backwards compatibility.void reloadMessageBundles()
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.