From 8dac9240bd8d38cd688946fa53dddb4a80b82a53 Mon Sep 17 00:00:00 2001 From: Pedro Beschorner Marin Date: Thu, 26 Mar 2015 14:45:21 -0300 Subject: [PATCH] English as locale fallback --- bbb-client-check/src/BBBClientCheck.mxml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bbb-client-check/src/BBBClientCheck.mxml b/bbb-client-check/src/BBBClientCheck.mxml index 88eaf4f120..e9ebc0bc16 100755 --- a/bbb-client-check/src/BBBClientCheck.mxml +++ b/bbb-client-check/src/BBBClientCheck.mxml @@ -33,6 +33,7 @@ private static var robotlegsContext:IContext; + private static var DEFAULT_LOCALE:String = "en_US"; private var language:String; protected function preinitializeHandler(event:FlexEvent):void @@ -47,7 +48,7 @@ language = ExternalInterface.call("getLanguage"); if (resourceManager.getLocales().indexOf(language) != -1) { - resourceManager.localeChain = [language]; + resourceManager.localeChain = [language, DEFAULT_LOCALE]; } }