Class I18n


  • public class I18n
    extends java.lang.Object
    Manages the i18n system.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.badlogic.gdx.utils.I18NBundle bundle  
      static java.util.Locale locale  
    • Constructor Summary

      Constructors 
      Constructor Description
      I18n()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean forceInit​(com.badlogic.gdx.files.FileHandle baseFileHandle)  
      static void initialize()
      Initialises the i18n system.
      static void initialize​(com.badlogic.gdx.files.FileHandle fh)  
      static java.lang.String txt​(java.lang.String key)  
      static java.lang.String txt​(java.lang.String key, java.lang.Object... params)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bundle

        public static com.badlogic.gdx.utils.I18NBundle bundle
      • locale

        public static java.util.Locale locale
    • Constructor Detail

      • I18n

        public I18n()
    • Method Detail

      • initialize

        public static void initialize()
        Initialises the i18n system.
      • initialize

        public static void initialize​(com.badlogic.gdx.files.FileHandle fh)
      • forceInit

        public static boolean forceInit​(com.badlogic.gdx.files.FileHandle baseFileHandle)
      • txt

        public static java.lang.String txt​(java.lang.String key)
      • txt

        public static java.lang.String txt​(java.lang.String key,
                                           java.lang.Object... params)