1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-18 21:28:54 +00:00
This commit is contained in:
M66B 2021-07-18 19:08:25 +02:00
parent 21d60f706b
commit 5504b93d05

View file

@ -65,8 +65,12 @@ public class ApplicationEx extends Application
}
String language = prefs.getString("language", null);
if ("de-AT".equals(language) || "de-LI)".equals(language))
language = "de-DE";
if (language != null) {
Locale locale = Locale.forLanguageTag(language);
EntityLog.log(context, "Set language=" + language + " locale=" + locale);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.setLocale(locale);