On 10/15/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
> Maybe you can just use ExternalInterface to read the browser's language?  I 
> think there's navigator.language or navigator.userLanguage?

for ff it's navigator.language for ie it's navigator.browserLanguage
but neither is a real substitute for HTTP_ACCEPT_LANGUAGE. for
instance navigator.language is telling me my language is "en-US" but
HTTP_ACCEPT_LANGUAGE is telling me a lot more,
"en,th;q=0.7,ja,ar;q=0.3", combining those bits with some simple
IP-based geocoding provides a pretty reliable "guess" (>90% correct)
as to a user's locale.

access to other CGI bits from within flex would be nice, for instance
something like PATH_TRANSLATED is really useful for self-configuring
apps if things need to read/wwritten to the server filesystem.


--
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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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