How to load winform C # strings from the resource file without rebuilding

advertisements

I have an application developed on .NET CF 3.5 and I try to localize it for multiple languages. I have made a global resource file that is under Properties folder and moved all strings from code and forms to the resource file. What I want to do is to have one resource file. I will translate the file and deploy on each device. But the problem is: if I change the resource file and run the application without rebuild I still see old resources. What I missed to do? I set resource file build action to Embedded resource. Thanks


http://www.codeproject.com/KB/dotnet/Localization.aspx

This article discusses how to handle your problem, by using two different approaches.

Option A discusses how to create a sattelite assembly containing a localized version of an embedded resource. This is most likely what you want to do.