Zero Deployment Culture

  • Thread starter Thread starter Gary Walvin
  • Start date Start date
G

Gary Walvin

Hi,

My XP machine is fully configured for the UK, but when I
use Zero Deployment for my app the calls to the web server
are for "en-us" resources rather than "en-GB" ones.
Anyone know why this is, cos it's bugging the hell out me
me???

Cheers

Gary
 
OT response:

Hee hee- we have a zero deployment culture here too, thats why I'm still
stuck with Win95 and O97.
<BG>
Keith R
 
There are no error messages. The app does work. I just
want to know why Windows wants en-us, when my machine and
my user are both en-gb.
If you refer to the article at
http://msdn.microsoft.com/msdnmag/issues/02/07/netsmartclie
nts/, in Figure 3 it shows the lists of calls made to the
server to get resources for en-us.
As I am in the UK and fully configured for the UK I would
expect the calls for my apps to be looking for en-gb.
Unfortunately they aren't. It still wants en-us.

The upshot of this is that if I localize my app for en-gb
and en-us cultures then an en-gb machine and user gets the
en-us version.

Help!
 
Just out of curiosity (I'm not claiming to know anything about the issues,
so the answer may or may not tell me anything), what do you get in your app
when you read CultureInfo.CurrentCulture and CultureInfo.CurrentUICulture?
Are they both en-GB?
 
Are you setting the information in the Globilization section of your web.config file?

<configuration>
<system.web>
<globalization
fileEncoding="utf-8"
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="en-US"
uiCulture="de-DE"
/>
</system.web>
</configuration>



Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 
There is nothing in the web.config apart from the
adjustment to allow appname.exe.config to be server up by
IIS.

I would expect that the web.config should be irrelevant as
it is IE that is requesting the culture information based
upon what I presume is the culture of the user running IE.

Also CultureInfo.CurrentCulture.DisplayName gives me
English- United Kingdom.

I have also checked the Language setting in IE and it is
configured as en-gb.

My guess is that if the culture of the current user is
English (of any type) IE always requests en-US.
The question is, can anything be done about this?
-----Original Message-----
Are you setting the information in the Globilization
section of your web.config file?
 
As far as what IE Is doing, I have found nothing reported that indicates that this is true (Using the en-us if any other english language is used) That was why I suggested checking teh
globalization settings. If it is not sent to the browser correctly then it will not display correctly. The specific part that I thought might apply was the uiCulture setting of the globilization
section.


Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 
Back
Top