User language settings can be detected in one of the two following ways:
- Using the cultureinfo class current culture property:
<% Response.write(Thread.CurrentThread.CurrentCulture.name) %>
- Using the request object’s userlanguages collection:
<%Response.Write(Request.UserLanguages(0))%>
Note: The UserLanguages collection can be traversed for the entire list.