Hi Kevin,
As I mentioned, our site,
www.windowsmobiletraining.com, detects the
users' selected language at the landing page, using
HttpContext.Current.Request.UserLanguages[0]. With a top setting of
'de' in IE, you should see the page in German. When I go there, I see
it in English, as some of our users report. Refresh <F5> sets it to
German. Others can see the German on the first try.
I'm running IE 6.0.2800.1106 with update versions SP1, Q810847,
Q813951, Q813489, Q818529, Q822925, Q828750, Q824145.
It may not be related, but if I set this page below as the start page
in the project and run the application in the IDE, the first view
shows 1 language. Refreshing shows 16. Running standalone in a
browser works the first time. It just makes me wonder if the
browser-related issue has some timing factor.
If I set this page as the start page in the project and run the
application in the IDE, the first view shows 1 language. Refreshing
shows 16.
<%@ Page language="c#"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>YourLanguage</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
Your browser has <%=(string)HttpContext.Current.Request.UserLanguag es.Length.ToString()%>
languages defined. Your first choice is:
<%=(string)HttpContext.Current.Request.UserLanguag es[0].ToString()%>.
</form>
</body>
</HTML>
Thanks!
Mark