I can think of:

Flash Player ActionScript API:

System.capabilities.language:String


Usage:

<mx:Script>

        var lang:String;

        function detectLanguage()
        {
                lang = System.capabilities.language;
        }

</mx:Script>


Description:

Read-only property; indicates the language of the system on which the player
is running. This property is specified as a lowercase two-letter language
code from ISO 639-1. For Chinese, an additional uppercase two-letter country
code subtag from ISO 3166 distinguishes between Simplified and Traditional
Chinese. The languages themselves are named with the English tags. For
example, fr specifies French.


For more see following link:
http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001737.html 


Does that help...



-abdul


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Wilfred LEUNG
Sent: Friday, May 13, 2005 5:29 PM
To: [email protected]
Subject: [flexcoders] Detecting Browsers codepage and lang

Hi

How can we detect users' system language and pass it to flex such that I can
display the current language for the user.

Wilfred



 
Yahoo! Groups Links



 




 
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