Detecting Regional Settings
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prashanth_vaidyaraj
Posted On:   Tuesday, May 18, 2004 05:44 AM

How can I detect the Regional Settings on the clients computer and decide the display according to the settings? For eg: I need to display the curreny depending on the regional currency options on the clients computer.

Re: Detecting Regional Settings

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, May 18, 2004 12:53 PM

you should use the navigator object and it's properties to get the locale, check out below and use whatever you want.


  • navigator.appCodeName
  • navigator.appName
  • navigator.appMinorVersion
  • navigator.cpuClass
  • navigator.platform
  • navigator.plugins
  • navigator.opsProfile
  • navigator.userProfile
  • navigator.systemLanguage
  • navigator.userLanguage
  • navigator.appVersion
  • navigator.userAgent
  • navigator.onLine
  • navigator.cookieEnabled
  • navigator.mimeTypes
  • About | Sitemap | Contact