Localization is hard, WPF makes it even harder with the locbaml approach. There are many other ways to solve this problem, some are basic, some are powerful, but I think that none is perfect. Here is my simple way of dealing with this.
Combining Haskell and a well-known C library is easy.
apt-get/yum install, link with it, create bindings and we’re done. Problems start to emerge when we don’t want to, or can’t, install the library globally. Things get even worse, when the library uses C++. I faced this problem when writing hlibsass and I think that I’ve managed to solve it in a not-so-terrible way.