diff --git a/haxe/ui/backend/PlatformImpl.hx b/haxe/ui/backend/PlatformImpl.hx index b565800..af49d5c 100644 --- a/haxe/ui/backend/PlatformImpl.hx +++ b/haxe/ui/backend/PlatformImpl.hx @@ -25,7 +25,7 @@ class PlatformImpl extends PlatformBase { systemLocale = htmlTag.lang; } - if (systemLocale == null) { + if (systemLocale == null || systemLocale == "" ) { systemLocale = Browser.navigator.language; } return systemLocale;