public class DefaultTemplateI18nHandler extends Object implements TemplateI18nHandler
Constructor and Description |
---|
DefaultTemplateI18nHandler(I18NBeanFactory i18nBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and Description |
---|---|
String |
translate(Message message)
Translate a template i18n message to the correct String for the current site language.
|
public DefaultTemplateI18nHandler(I18NBeanFactory i18nBeanFactory, LocaleManager localeManager)
public String translate(Message message)
TemplateI18nHandler
translate
in interface TemplateI18nHandler
message
- a Message with key and optional argumentsCopyright © 2003–2020 Atlassian. All rights reserved.