Future<String?> getCurrentLocale() { final String? locale = html.window.navigator.language; return Future.value(locale); }