public class Localization extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
changeLocale(Locale locale)
Change the currently active locale
|
ResourceBundle |
getBundle()
Get the resource bundle of the current locale (required for FXML
localization).
|
static Localization |
getInstance()
Get instance of
Localization. |
String |
getString(String key)
Get a localized String.
|
public static Localization getInstance()
Localization.public String getString(String key)
key - localization keypublic void changeLocale(Locale locale)
locale - new locale to usepublic ResourceBundle getBundle()
Copyright © 2015 illucIT Software GmbH. All rights reserved.