0

Is there a way to get the country-language code in ISO 3166 (for example: US_en) in actionscript with zinc like I would do in objectiveC:

NSString* language = [[NSLocale preferredLanguages] objectAtIndex:0];
NSString *locale = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode];

NSString *updateLocaleLanguage =[NSString stringWithFormat:@"%@_%@",locale,language];
demongolem
  • 9,474
  • 36
  • 90
  • 105
AndyPipkin
  • 147
  • 7

1 Answers1

1

Yup. You want the Capabilities class: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html

Senekis
  • 111
  • 8