Identify installed Windows language in c# (asp.net)
Posted on 2007-10-17
I have some trouble identifying the installed language Windows use.
This is kinda what I have in mind:
if (Request.Browser.Browser == "IE")
if(installed language equals English)
lblLabel.Text = "blablabla in English";
if(installed language equals Danish)
lblLabel.Text = "blablabla in Danish";
(Sorry for the mix of code and pseudo code..)
In other words, if the browser is IE and the installed language of Windows is English, it should display some text, and the same if the system is Danish.
Is it possible?
Thanks in advance..