Class I18n

java.lang.Object
com.earth2me.essentials.I18n
All Implemented Interfaces:
II18n, II18n

public class I18n extends Object implements II18n
  • Constructor Details

  • Method Details

    • tl

      public static String tl(String string, Object... objects)
    • capitalCase

      public static String capitalCase(String input)
    • onEnable

      public void onEnable()
    • onDisable

      public void onDisable()
    • getCurrentLocale

      public Locale getCurrentLocale()
      Description copied from interface: II18n
      Gets the current locale setting
      Specified by:
      getCurrentLocale in interface II18n
      Returns:
      the current locale, if not set it will return the default locale
    • format

      public String format(String string, Object... objects)
    • updateLocale

      public void updateLocale(String loc)