diff --git a/lib/foundation/js_engine.dart b/lib/foundation/js_engine.dart index 9a5e723..574c69c 100644 --- a/lib/foundation/js_engine.dart +++ b/lib/foundation/js_engine.dart @@ -156,7 +156,7 @@ class JsEngine with _JSEngineApi, JsUiApi { case "UI": return handleUIMessage(Map.from(message)); case "getLocale": - return "${App.locale.languageCode}-${App.locale.countryCode}"; + return "${App.locale.languageCode}_${App.locale.countryCode}"; case "getPlatform": return Platform.operatingSystem; }