Click to See Complete Forum and Search --> : CultureInfo problem


Athley
October 23rd, 2002, 05:24 AM
I have a funny problem.

I have made my forms localizable. I have then typed everything in Swedish for the deafult language and added a resource file for english where I have changed all text to english.

This works fine when I run my application from VIsual Studio. If I have a regional language setting apart from english I get Swedish text and if I change to any english setting I get english text.

BUT....

when i deploy this application and install it on the very same computer I develop on, I get swedish text no matter what. I even added code to check the current culture, and it displays correct information.

What am I doing wrong or why does it not work when the application is turned into MSI and is distributed?

/Leyan

Athley
October 23rd, 2002, 06:03 AM
We have just been able to conclude that I am extremely stupid. I forgot to add the resource file to the deplyment package.

Posting before research is not good, and this was a good example of that. :D

/Leyan

Twodogs
October 23rd, 2002, 09:01 PM
rotflmao!!!! How many times have I done that :)