mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
German
This commit is contained in:
parent
21d60f706b
commit
5504b93d05
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue