Localization in WPF
Asked Answered
S

1

40

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?

Thanks!

Strapless answered 27/4, 2009 at 19:52 Comment(0)
B
1

A simple way is to use a MarkupExtension. https://www.wpftutorial.net/LocalizeMarkupExtension.html With this tutorial you can implement it yourself.

Or you can use a nuget package.

Bulbous answered 5/8, 2022 at 11:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.