WPF中的本地化 [英] Localization in WPF

查看:167
本文介绍了WPF中的本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在WPF中启动一个新应用程序,并且很好奇如何处理本地化?在WinForms中,可以将resx字符串用于UI文本,这在WPF中是如何完成的?是否有用于绑定到resx资源的特殊绑定语法,或者有其他方法可以做到这一点?

I am starting a new application in WPF and I am curious how to handle Localization? In WinForms you can use resx strings for the UI text, how is this done in WPF? Is there a special binding syntax for binding to resx resources or is there a different way of doing this?

谢谢!

推荐答案

签出

Check out WPF Globalization and Localization Overview. The article explains nicely how localization in WPF works.

这篇关于WPF中的本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆