Solved

URGENT: how to get browser language via Browser object?

Posted on 2007-03-18
6
1,038 Views
Last Modified: 2010-05-18
Hi how to get browser language via Browser object?
0
Comment
Question by:Abdu_Allah
  • 3
  • 3
6 Comments
 
LVL 2

Expert Comment

by:juravich
ID: 18743952
What do you mean by language?

Whether it is set to display english, spanish, chinese etc?

or something else?
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744007
>Whether it is set to display english, spanish, chinese etc?

Yes exactly.
0
 
LVL 2

Accepted Solution

by:
juravich earned 500 total points
ID: 18744214
Use:

Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")


For a list of language encodings go to:

http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:juravich
ID: 18744240
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744854
I want that via .NET Browser object.
0
 
LVL 3

Author Comment

by:Abdu_Allah
ID: 18744858
Something like: Request.Browser....
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now