diff --git a/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java b/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java index 55579f219..95bcff26c 100644 --- a/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java +++ b/strolch-agent/src/main/java/li/strolch/runtime/query/enums/StrolchEnum.java @@ -55,7 +55,7 @@ public String getLocale() { } public void setLocale(String locale) { - this.localeL = new Locale(locale); + this.localeL = Locale.forLanguageTag(locale); this.locale = locale; }