public class I18n
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static Locale |
i18nLocale |
| Constructor and Description |
|---|
I18n() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
format(java.lang.String translateKey,
java.lang.Object... parameters)
format(a, b) is equivalent to String.format(translate(a), b).
|
(package private) static void |
setLocale(Locale i18nLocaleIn) |
private static Locale i18nLocale
static void setLocale(Locale i18nLocaleIn)
public static java.lang.String format(java.lang.String translateKey,
java.lang.Object... parameters)