public class Localization
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
Texts
The language strings
|
Constructor and Description |
---|
Localization()
Creates the object and tries to set the language to the current locale.
|
Localization(int langage)
Creates the object and tries to set the language to the chosen language.
|
Modifier and Type | Method and Description |
---|---|
static int |
getLanguage()
Returns the current language used.
|
static int |
getQLVersion()
Gets the current version of SMSQmulator.
|
static java.lang.String |
getVersion()
Gets the current version of SMSQmulator.
|
static void |
setLanguage(int mlanguage)
This sets the language and the language dependent texts.
|
void |
setLanguage(java.lang.String mlanguage)
This sets the language and the language dependent texts.
|
public Localization()
public Localization(int langage)
langage
- The chosen language to set :
public final void setLanguage(java.lang.String mlanguage)
mlanguage
- a string containing an int with the language :
public static final int getQLVersion()
public static final java.lang.String getVersion()
public static final void setLanguage(int mlanguage)
mlanguage
- an int with the language :
public static final int getLanguage()