且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在visual studio express 2012中添加resx文件?

更新时间:2023-01-30 21:34:41

为每种语言添加单独的资源文件 (.resx) 并通过更改线程 UI Culture 来使用它们 - http://www.thebestcsharpprogrammerintheworld.com/blogs/localizing-a-wpf-program-using-csharp.aspx.

Add separate resource file (.resx) for each language and use them by changing the thread UI Culture - http://www.thebestcsharpprogrammerintheworld.com/blogs/localizing-a-wpf-program-using-csharp.aspx.

请参阅以下屏幕截图.右键单击项目 -> 添加 -> 新项目.根据您想要的文化命名您的文件.我以荷兰语命名.

See following screen-shot. Right-click on project -> Add -> New Item. Name your file according the culture you want. I named it for Dutch language.