Macadamian Blog

Which localization framework to use on a WPF project?

Microsoft recommends using a tool called LocBaml to localize the strings in your WPF application. We spent a lot of time trying to get LocBaml to work, and ended up dropping it, particularly because

  • Documentation for the tool from Microsoft is sparse. You have to rely on blog posts and articles like this
  • The tool appears to be a beta from Microsoft, and there are a number of known bugs. I haven't seen any indication of when they'll be fixed.
  • Using tool is a 10+ step process, and this process needs to be repeated frequently to update the localization. It involves command line operations, generating .csv files, etc. all of which is reported to be error-prone

A project developed in 2008 (under MS public license) called Extension: WPF Localization got a lot of favorable reviews on the web, so we decided to try that instead. It is simply 4 .cs files which provides a localization framework and dynamic language switching at run-time, among other benefits. The documentation and examples are also quite good. Until we hear updates on LocBaml, this is a framework we'll definitely re-use in future projects.

About the Author

Didier Thizy’s picture
Didier Thizy

Didier Thizy has been a software professional for 11 years, holding a variety of positions in Software R&D, Product Management and Marketing. At Macadamian, Didier is Macadamian's Director of Market Development, responsible for new market strategy, development and channel/partner development. His focus areas include healthcare software, modern enterprise/ERP systems, and mobile applications. Didier is an active member of the Toronto Product Management Association, Silicon Valley Product Management Association, HIMSS healthcare usability group, and Ottawa OCRI association for technology.
Visit Website
Follow on Twitter

+ Comments

Leave A Comment:

You guessed it... your name goes here.

Have a website? Put it here.

We promise, we won't share your address with ANYONE.


Type your comment here... this box will auto expand!

Note: URLs will be auto-converted to links!

Please enter the word you see in the image above.



* - denotes required fields

Here's a preview of your comment:

macadamian
Contact Us: 1-877-779-6336 or Email Us