10 February 2010 ~ 0 Comments

Small Gotcha With As3localelib

I just started messing around with the as3localelib library in a project I’m working on which needs to be localized to several languages.  I found a few code samples around the web and both use the following two lines of code to implement the library: var sortedLocales:Array = LocaleUtil.sortLanguagesByPreference(['en_US', 'zh_CN', 'zh_TW'], flash.system.Capabilities.languages, “en_US”); ResourceManager.getInstance().localeChain = [...]

Continue Reading