Package gaiasky.util
Class I18n
java.lang.Object
gaiasky.util.I18n
public class I18n
extends java.lang.Object
Manages the i18n (internationalization) system
-
Field Summary
-
Constructor Summary
Constructors Constructor Description I18n()
-
Method Summary
Modifier and Type Method Description static boolean
forceInit(com.badlogic.gdx.files.FileHandle baseFileHandle)
static void
initialize()
Initialises the i18n systemstatic void
initialize(com.badlogic.gdx.files.FileHandle fh)
static void
initialize(java.nio.file.Path path)
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 Details
-
bundle
public static com.badlogic.gdx.utils.I18NBundle bundle -
locale
public static java.util.Locale locale
-
-
Constructor Details
-
I18n
public I18n()
-
-
Method Details
-
initialize
public static void initialize()Initialises the i18n system -
initialize
public static void initialize(java.nio.file.Path path) -
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)
-