supportedLanguageIds.setProperty("DE","german");
supportedLanguageIds.setProperty("HR","croatian");
supportedLanguageIds.setProperty("RU","russian");
String currentLanguageIdentifier = "EN";
Locale locale = Locale.getDefault();
if (supportedLanguageIds.containsKey(locale.getLanguage().toUpperCase()))
currentLanguageIdentifier = locale.getLanguage().toUpperCase();
LoginDialog loginDialog = new LoginDialog(
null,
false,