public interface TranslationService
I18nizer
or SimpleTranslator
instead.I18nizer
,
SimpleTranslator
Modifier and Type | Method and Description |
---|---|
void |
reloadMessageBundles()
Deprecated.
since 5.5.2.
DefaultMessageBundlesLoader is responsible for reloading message bundles. |
String |
translate(LocaleProvider localeProvider,
String[] keys) |
default String |
translate(LocaleProvider localeProvider,
String[] keys,
String fallback) |
String |
translate(LocaleProvider localeProvider,
String basename,
String[] keys)
Deprecated.
since 5.1. Should not be using a basename. Currently in use for backwards compatibility.
|
String translate(LocaleProvider localeProvider, String[] keys)
default String translate(LocaleProvider localeProvider, String[] keys, String fallback)
@Deprecated 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.@Deprecated void reloadMessageBundles()
DefaultMessageBundlesLoader
is responsible for reloading message bundles.Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.