Solved

URGENT: how to get browser language via Browser object?

Posted on 2007-03-18
6
1,040 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

791 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