0 Replies Latest reply on Feb 17, 2009 7:29 AM by StevenNelson

    sortLocalesByPreference fallback

      I'm working on a localized flex app. I've got bundles etc working and am now trying to get the right locale to show up in the UI based on using the sortLocalesByPreference function to compare the supported locales from getPreferredLocaleChain with the browser specified locales returned from a BlazeDS service that gets it from the HTTP header. For the most part this is working great. However, if there is a non supported locale at the top of the browser preference list (firefox) then it always defaults to the fallback locale. Otherwise it always seems to do the right thing. Any thoughts? Or maybe this is a bug.