Class 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
      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)