Localization problem of resource files

Feb 12 2007 1:50 AM
I am having problems with the use of resource files (holding strings) with Visual Studio 2005. To abstract the problem, I have written a demo application.

I am working on device applications for PPC2003. I got one C# Solution with two projects. The following shows how the files are organised (and the blue text is some comments to understand it better):

LocalizationAppDemoAll2 (Solution)
     LocalizationAppDemoAll2 (In bold, my startup project)
          Properties (folder)
               ...
          References (folder)
               LocalizationAppDemoAll2Presentation (reference to dll of the other project)
               ...
          it (folder)
               LocalizationAppDemoAll2Presentation.resources.dll (added as a shortcut link)
          Program.cs (containing the Main method)
LocalizationAppDemoAll2Presentation (the second project within the solution)
         References (folder)
               ...
         Resources (folder)
               CodeText.it.resx
               CodeText.resx
         Form1.cs
         FormHandler.cs
----------------------------------------

I have changed my regional settings on the PDA device to Italy, and running the application. The application is supposed to read all the strings from the resource file CodeText and populates it in a list box (or combo box). However, the problem is that when running the application, it is only using the english version (i.e. CodeText.resx) file and not the italian resource file (i.e. CodeText.it.resx) despite the regional settings changed to Italy. I think it cannot find or reads the correct dlls. Any help please?

Thanks

Answers (1)