new IWLanguage(name, file)
The language class is used for getting the translation for a specified language key.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | |
file |
String |
- Since:
-
- 0.74
Methods
-
get()
-
Returns the language specific content for the specified key value.
Returns:
- Type
- String
-
getFile()
-
Returns the URL of the language file.
Returns:
- Type
- String
-
getName()
-
Returns the name of the language, e.g. 'de'.
-
put(key, value)
-
Parameters:
Name Type Description key
String value
String Returns:
- Type
- void
-
toString()
-
Returns a string representation of the language.
Returns:
- Type
- String