I’m currently working on a .NET MF device that should support several languages. The problem I noticed was the missing support of mscorlib culture depending formatting. Well, you’ll find the solution how to get i.e. the correct DecimalSeparator for German in Jens Kühner’s book.
What you have to do is a simple library project that contains a single embedded resource with all the separator / patterns inside. The root namespace of the project files must be System.Globalization.Resources.CultureInfo. That’s the trick!
Next you have to add a reference to this file and you’re able to switch the culture:
public class Program
public static void Main()
Debug.Print((1.23456).ToString()); // 1.23456
Debug.Print((1.23456).ToString()); // 1,23456 comma instead of dot
static void ResetResourceManager()
FieldInfo fieldInfo = typeof(Resources).GetField("manager",
BindingFlags.NonPublic | BindingFlags.Static);
static void SetCulture(string cultureName)
// render screen with new culture
I have created a very simple application that is creating those project files. You can download the mscorlibculturepack.zip containing all the project files.