Localization in Visual Studio 2008: What's my mistake? [closed]

落爺英雄遲暮 提交于 2020-01-05 07:56:56

问题


I'm trying to create a localized version of a Windows Form in Visual Studio 2008.

Following various walkthrought, I set the form property Localizable to TRUE, and set the form language to French.

I then edit the French version. Visual Studio shows a .fr.resx file as well as the .resx in the workspace.

However, if I switch back to the (Default) version, all the English strings in the default version have now been replaced by the French version.

Obviously I'm missing something very obvious: can anyone suggest what it is?


回答1:


You mean in the forms designer itself, the form is still appearing in French? If you look at the ".resx" files directly, are the strings in the correct language. If so then have you tried closing and re-loading the form, or cleaning the project, or clearing and then resetting the "Localizable" property, or re-starting Visual Studio altogether. I've seen strange language issues like this many times (I'm the developer of a localization program for Visual Studio), but the above solutions normally correct the problem. The designer has its problems sometimes (among other things).



来源:https://stackoverflow.com/questions/13145340/localization-in-visual-studio-2008-whats-my-mistake

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!