Package | Description |
---|---|
info.magnolia.i18nsystem | |
info.magnolia.i18nsystem.proxytoys | |
info.magnolia.i18nsystem.tools |
Modifier and Type | Class and Description |
---|---|
class |
ContextLocaleProvider
A default implementation of
LocaleProvider which uses Context.getLocale() to provide the current Locale. |
class |
FixedLocaleProvider
A
LocaleProvider provider that simply returns the Locale it was passed in its constructor. |
Modifier and Type | Method and Description |
---|---|
String |
TranslationService.translate(LocaleProvider localeProvider,
String[] keys) |
String |
TranslationServiceImpl.translate(LocaleProvider localeProvider,
String[] keys) |
default String |
TranslationService.translate(LocaleProvider localeProvider,
String[] keys,
String fallback) |
String |
TranslationServiceImpl.translate(LocaleProvider localeProvider,
String[] keys,
String fallback) |
String |
TranslationService.translate(LocaleProvider localeProvider,
String basename,
String[] keys)
Deprecated.
since 5.1. Should not be using a basename. Currently in use for backwards compatibility.
|
String |
TranslationServiceImpl.translate(LocaleProvider localeProvider,
String basename,
String[] keys) |
Constructor and Description |
---|
SimpleTranslator(TranslationService translationService,
LocaleProvider localeProvider) |
Constructor and Description |
---|
I18nTextMethodDecorator(TranslationService translationService,
LocaleProvider localeProvider,
I18nKeyGenerator keyGenerator)
Deprecated.
|
ProxytoysI18nizer(TranslationService translationService,
LocaleProvider localeProvider)
Deprecated.
|
Constructor and Description |
---|
ToolingProxytoysI18nizer(TranslationService translationService,
LocaleProvider localeProvider) |
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.