Monat: Juni 2025

  • About cultures, infos and UI in C#

    Just recently, I encountered a very interesting problem where the validation of valid inputs in a text field behaved very strangely. Anyone who has had to write C# and WPF applications for different languages and cultures is already familiar with the CultureInfo class. It’s most commonly used when you want to convert a string into…

  • Culture Codes (in .NET and different OSes)

    I tried to search for that info everywhere on the web for a full list. But unless iterating through the data, I wrote my own script. There are still more languages, like the InvariantCulture. In my opinion, this is more like a setting than a real user locale. I also understood the NeutralCultures wrong, because…

  • Über Kulturen, Informationen und der UI in C#

    Erst letztens stieß ich auf ein sehr interessantes Problem, wo die Überprüfung von gültigen Eingaben in einem Textfeld sich sehr seltsam verhielt. Wer also schon mal in C# und WPF Anwendungen für unterschiedliche Sprachen und Kulturen schreiben musste, dem ist bereits die CultureInfo-Klasse bekannt. Am gängigsten vor allem, wenn man aus einer Zeichenkette eine Zahl…