public class Smarti18nMessageSource
extends org.springframework.context.support.AbstractMessageSource
| Constructor and Description |
|---|
Smarti18nMessageSource()
Default Constructor for HelloWorld Example
|
Smarti18nMessageSource(String projectId,
String projectSecret)
smarti18n.com Constructor
|
Smarti18nMessageSource(String host,
String projectId,
String projectSecret)
Own hosted smarti18n Construktor
|
| Modifier and Type | Method and Description |
|---|---|
protected MessageFormat |
resolveCode(String code,
Locale locale) |
getCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, resolveCodeWithoutArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessagepublic Smarti18nMessageSource()
public Smarti18nMessageSource(String projectId, String projectSecret)
projectId - Project IDprojectSecret - Project Secret from Project Settingsprotected MessageFormat resolveCode(String code, Locale locale)
resolveCode in class org.springframework.context.support.AbstractMessageSourceCopyright © 2020. All rights reserved.