Bug: Controls rendering in "Spanish"??

G

Guest

I realize this most likely isn't the right newsgroup, but i'm having troube
finding anyswers:

I'm working with MS C# .NET 2003 Professional Edition on a machine that was
set
to regional settings of SPAIN. As such, when i dragged and dropped the
calendar and repeater controls to the ASP.NET web form, the control appeared
in Spanish at design time.

I've changed my regional settings to US (default), i've restarted my
computer, i've re-created my ASP.NET web form, i've created new calendar
and repeater controls, and the controls appear at design time in English.

However, when i test my application, the controls render in Spanish. Where
is this setting held that's forcing my calendar control to render in Spanish?

Thanks,
 
G

Glenn

Could be your web.config's globalization settings. Have you tried
explicitly defining the culture and uiCulture?

Should look something like this.

<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
culture="en-US"
uiCulture="en-US"
/>
I realize this
most likely isn't the right newsgroup, but i'm having troube
 
G

Guest

thanks Glenn. This did solve the problem!

I would have assumed that given that my OS is in English, and that i changed
my regional settings back to US, that this explicit declaration would not be
necessary. Obviously, somewhere the old Spanish region setting (culture) was
stored somewhere... It would be interested to know where and how or why this
works as such.
 
B

Bruce Wood

My undestanding is that it works that way so that you can develop
applications for other cultures and languages without having to switch
your entire O/S to... say, Japanese. Can you imagine developing a
multi-language app, and having to learn to read every single one of the
languages in order to run the Visual Studio IDE while you're doing it?
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top