Class L10N

java.lang.Object
net.mcreator.ui.init.L10N

public class L10N extends Object
  • Field Details

    • DEFAULT_LOCALE

      public static final Locale DEFAULT_LOCALE
  • Constructor Details

    • L10N

      public L10N()
  • Method Details

    • initTranslations

      public static void initTranslations()
    • getSupportedLocales

      public static Set<Locale> getSupportedLocales()
    • getUITextsLocaleSupport

      public static int getUITextsLocaleSupport(Locale locale)
    • getHelpTipsSupport

      public static int getHelpTipsSupport(Locale locale)
    • getLocale

      public static Locale getLocale()
    • getLocaleString

      public static String getLocaleString()
    • getBlocklyLangName

      public static String getBlocklyLangName()
    • t

      public static String t(String key, Object... parameters)
    • t_en

      public static String t_en(String key, Object... parameters)
    • label

      public static JLabel label(String key, Object... parameter)
    • checkbox

      public static JCheckBox checkbox(String key, Object... parameter)
    • button

      public static JButton button(String key, Object... parameter)
    • technicalbutton

      public static TechnicalButton technicalbutton(String key, Object... parameter)
    • radiobutton

      public static JRadioButton radiobutton(String key, Object... parameter)
    • togglebutton

      public static JToggleButton togglebutton(String key, Object... parameter)