Change framework language

H

Henrik Stidsen

I need to change which language the .NET framework exception messages is
displayed in. I'm using Windows Vista Business with danish as UI language.
This means that the exception messages gets translated into danish =
completely useless and often very hard to make sense of...

Is there any way to change this back to english? There are no language
packs to install og uninstall :(
 
A

Alvin Bruney [MVP]

You need to localize the exception. Basically sniff the current culture and
display the appropriate language. Oh but wait, are you saying that you
application throws danish exceptions by default and you want it to throw
english? That has to do with what you chose as the default culture at time
of installation.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 
R

RobinS

Are you talking about the exception messages from the .Net framework? If
so, there's nothing you can do about that -- the .Net framework only has
English. (When they say that the redistributable has all the languages,
they mean in the installation procedures, but everything else is in
English.) You can always try capturing the exceptions and putting out
something in Danish.

By the way, there's a great book on internationalization that explains this
kind of stuff, by Smith-Ferrier -- ".NET Internationalization". I found
this really helpful (my company is going to internationalize their app).

Good luck.
Robin
 
M

Maciej

Hello,
I had the similar problem with polish language.
I use windows XP, I had the .NET Framework installed and the Polish language pack. I uninstalled the Polish language pack and it worked for me. Now the exception messages are displayed in english.

Try if that works for you.

But I was using .NET 2.0 and XP, dont know if that helps you.

Cheers,
Maciej
 

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