Application does not need restart for language change.

This commit is contained in:
Jindra Pet��k
2013-08-10 16:22:31 +02:00
parent 756150fc58
commit 12baee11b6
12 changed files with 69 additions and 17 deletions
@@ -36,4 +36,8 @@ public abstract class AppDialog extends JDialog {
public String translate(String key) {
return resourceBundle.getString(key);
}
public void updateLanguage(){
resourceBundle = ResourceBundle.getBundle(AppStrings.getResourcePath(getClass()));
}
}