Directly from the Flex docs it says that you can get the current
Localeby calling:
 
Locale.getCurrent().language 

However, this line doesn't compile. (I have it in a function called by
the creationComplete method of my main mxml. 

Also, I have an international application where I want to swap in the
correct ResourceBundle upon the language a user selects upon login. 

The Flex 2.0 Beta 3 'Flex Developer's Guide' says that you need to
compile a seperate SWF file for each locale (language). Is that really
true???

That would make my life a nightmare anytime I need to make a change to
the application.

I also saw in a previous posting in this forum from Matt Chotin that
the method "Locale.getCurrent().language" returns the COMPILE-TIME
locale...that can't be true right? I guess I could use the
ExternalInterface API to get the real locale right?? 

Thanks in advance for your help/suggestions.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to