mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 03:53:41 +00:00
This commit is contained in:
parent
5c0b522026
commit
29a190f93a
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ public class I18n implements II18n
|
||||||
{
|
{
|
||||||
currentLocale = new Locale(parts[0], parts[1], parts[2]);
|
currentLocale = new Locale(parts[0], parts[1], parts[2]);
|
||||||
}
|
}
|
||||||
|
ResourceBundle.clearCache();
|
||||||
Logger.getLogger("Minecraft").log(Level.INFO, String.format("Using locale %s", currentLocale.toString()));
|
Logger.getLogger("Minecraft").log(Level.INFO, String.format("Using locale %s", currentLocale.toString()));
|
||||||
customBundle = ResourceBundle.getBundle(MESSAGES, currentLocale, new FileResClassLoader(I18n.class.getClassLoader(), ess));
|
customBundle = ResourceBundle.getBundle(MESSAGES, currentLocale, new FileResClassLoader(I18n.class.getClassLoader(), ess));
|
||||||
localeBundle = ResourceBundle.getBundle(MESSAGES, currentLocale);
|
localeBundle = ResourceBundle.getBundle(MESSAGES, currentLocale);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue