Multilanguage support in C# with code first and the Entity Framework

One of the downsides of living in Belgium is that everything needs to be available in multiple languages, given that we’re sporting no less than 3 official languages. This has consequences for developers too, and today I would like to expand a little on how to deal with these consequences. There is already decent language support in the most popular programming languages, such as resource bundles in Java and resources in .Net. However, a question that often goes unanswered is how to to translate dynamic resources. What if you want to maintain a list of Products where one product can have separate names in English, French, Dutch, etc. Furthermore, what if you want do the same thing for the product description? What if you want to dynamically add other languages later on? ...

January 11, 2013 · 10 min · Alexander Moerman