public class ConfluenceI18nResolver
extends com.atlassian.sal.core.message.AbstractI18nResolver
Constructor and Description |
---|
ConfluenceI18nResolver(I18NBeanFactory i18nBeanFactory,
LocaleManager localeManager) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAllTranslationsForPrefix(String prefix) |
Map<String,String> |
getAllTranslationsForPrefix(String prefix,
Locale locale) |
String |
getRawText(Locale locale,
String key) |
String |
getRawText(String key) |
String |
resolveText(Locale locale,
String key,
Serializable[] arguments) |
String |
resolveText(String key,
Serializable[] arguments) |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
void |
setLocaleManager(LocaleManager localeManager) |
public ConfluenceI18nResolver(I18NBeanFactory i18nBeanFactory, LocaleManager localeManager)
public String resolveText(String key, Serializable[] arguments)
resolveText
in class com.atlassian.sal.core.message.AbstractI18nResolver
public String resolveText(Locale locale, String key, Serializable[] arguments)
resolveText
in class com.atlassian.sal.core.message.AbstractI18nResolver
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
public void setLocaleManager(LocaleManager localeManager)
public Map<String,String> getAllTranslationsForPrefix(String prefix, Locale locale)
Copyright © 2003–2019 Atlassian. All rights reserved.