Localization in WPF

前端 未结 3 1554

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

3条回答
  •  囚心锁ツ
    2020-12-05 02:42

    you can use a MarkupExtension to do localization with dynamic language switching. Here is an interesting article about this:

    http://www.wpftutorial.net/LocalizeMarkupExtension.html

提交回复
热议问题