WPF Localization

In WPF the localization process is also based on resources but with different steps. Also, there are some alternative techniques for accomplishing localization but we cover the most common.

Note on Installed Culture

Code examples shown in this section assume that your system’s regional settings are based on the en-US (English-United States) culture. If your system is based on different regional settings, replace en-US with the culture information that suits your system.

When you compile a WPF project, the XAML code is parsed into a more efficient file format known as BAML (Binary Application Markup Language). Generally each Baml file represents a resource that is then linked into the executable storing all resources. To localize ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.