开发者

Strings.resx Localizations not Installing in .Net Program

开发者 https://www.devze.com 2023-01-23 16:04 出处:网络
I have a .Net application.It has a Strings.resx file, along with Strings.es.resx, and many more localizations.

I have a .Net application. It has a Strings.resx file, along with Strings.es.resx, and many more localizations.

Everything works fine in Visual Studio, if I am using debug or release mode.

But, when I build my install package, and install the software, it's as if the translations are missing. When I change the programs language from Dutch to Spanish to English, only the default strings are used.

This isn't a problem with having to resta开发者_StackOverflow社区rt the program. I save the users expected language. I then set it without exceptions.

It seems the translations are missing from my install package. Why?


The deployment project had the project output, but that did not include the string files. I had to manually add the localized resources to the deployment project, by way of Add->Project Output->Localized Resources.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号