@Environment(value=CLIENT) public class I18n extends Object
| Modifier and Type | Field and Description |
|---|---|
private static TranslationStorage |
storage |
| Constructor and Description |
|---|
I18n() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasTranslation(String key) |
(package private) static void |
setLanguage(TranslationStorage storage) |
static String |
translate(String key,
Object[] args) |
private static TranslationStorage storage
static void setLanguage(TranslationStorage storage)
public static boolean hasTranslation(String key)