public class SimpleTranslator extends Object
TranslationService
and LocaleProvider
for getting messages based on a single, well-known, key.
It also allows formatting of parameters into messages using the MessageFormat
format.Constructor and Description |
---|
SimpleTranslator(TranslationService translationService,
LocaleProvider localeProvider) |
@Inject public SimpleTranslator(TranslationService translationService, LocaleProvider localeProvider)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.