From efb206f7bd6d7951ad025e59201cae4733a87e10 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 3 Aug 2019 22:20:05 +0200 Subject: [PATCH] Use Locale.getDefault() to initialize the language --- .../java/org/jivesoftware/smack/ConnectionConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/ConnectionConfiguration.java b/smack-core/src/main/java/org/jivesoftware/smack/ConnectionConfiguration.java index e99b04ce6..e302a1159 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/ConnectionConfiguration.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/ConnectionConfiguration.java @@ -597,7 +597,7 @@ public abstract class ConnectionConfiguration { private CharSequence username; private String password; private Resourcepart resource; - private Locale language = Locale.ENGLISH; + private Locale language = Locale.getDefault(); private boolean sendPresence = true; private ProxyInfo proxy; private CallbackHandler callbackHandler;