Pregunta

I have a situation, where user can select program language. After selecting it i set CurrentCulture and CurrentUICulture to the selected one, and load the appropriate language text for my controls from resource (.resx) files.

If I run the program from Visual Studio it works perfectly. If I run my release version (install my .msi) it only shows in English.

¿Fue útil?

Solución

So there is a difference between your debug and release builds. Is the resx included in your build directory for both the debug and the release?

My guess is that you should look at the Build Action and Copy to Output Directory properties of your resx file.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top