package{ import flash.display.Sprite; import flash.system.Capabilities; public class Main extends Sprite{ public function Main(){ trace(flash.system.Capabilities.language); } } }