public interface LocaleManager
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Locale> |
availableLocales() |
boolean |
isLocaleAvailable(Locale locale) |
void |
loadLocale(InputStream stream,
Locale locale) |
void |
loadLocale(Path pathToLanguage,
Locale locale) |
String |
replaceI18n(Locale locale,
String string,
Object... objects) |
String |
replaceI18n(String i18n,
Object... objects) |
void loadLocale(Path pathToLanguage, Locale locale) throws IOException
IOExceptionvoid loadLocale(InputStream stream, Locale locale) throws IOException
IOExceptionboolean isLocaleAvailable(Locale locale)
com.google.common.collect.ImmutableList<Locale> availableLocales()
Copyright © 2017–2018 NukkitX. All rights reserved.