views:

44

answers:

1

Hello,

i am trying to get the available languages installed in visitors pc's. The problem is that i don't want to get the languages from the internet browser.

Any suggestions please?

+3  A: 

The only (standard) way is to look in the HTTP header's 'Accept-Language'. See the standard. It would be a security hole if you could get access to more information than that without asking permission.

You could run some Active X component to spy on the users' computers, but you'd have to get them to give you permission first, but I suspect that will just cause people to not want to use your website. Also it would only work on Windows. I wouldn't recommend doing this.

Of course, you can always ask your users to tell you via some settings page. If changing this setting would help them to use your site, they would probably not mind doing that.

Mark Byers
just what Mark said in the 1st paragraph. Full stop.
DmitryK