CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Location
    Växjö, Sweden
    Posts
    225

    Question CultureInfo problem

    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

  2. #2
    Join Date
    Oct 2002
    Location
    Växjö, Sweden
    Posts
    225
    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.

    /Leyan

  3. #3
    Join Date
    Apr 2002
    Location
    Melbourne, Victoria, Australia
    Posts
    1,792
    rotflmao!!!! How many times have I done that

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured