Cultural mess
-
Wtf is that? I wondered when I started up a small tool on a Windows 8 Embedded machine: most of its UI was in English (as expected, because Windows' UI is in English), but an enumeration control was in German. How can that happen? Did I forget to copy a file? No, can't be: the English texts are always compiled into the main assemblies, only translated texts make it into satellite assemblies. I investigated the issue further. And had to see:
Current Culture: de-DE
Current UI Culture: en-US
What an odd combination! And while theResourceManager
normally usesCurrentUICulture
, theEnumDescriptionConverter
usedCurrentCulture
... -
Wtf is that? I wondered when I started up a small tool on a Windows 8 Embedded machine: most of its UI was in English (as expected, because Windows' UI is in English), but an enumeration control was in German. How can that happen? Did I forget to copy a file? No, can't be: the English texts are always compiled into the main assemblies, only translated texts make it into satellite assemblies. I investigated the issue further. And had to see:
Current Culture: de-DE
Current UI Culture: en-US
What an odd combination! And while theResourceManager
normally usesCurrentUICulture
, theEnumDescriptionConverter
usedCurrentCulture
...It's a mess, but there's a method in the madness. I'm using a computer with an english UI (CurrentUICulture) so that I can easier search error messages. But I still want to have Swedish format (CurrentCulture) on money, date, time, decimal comma and so on. The fact that to few people have a clue on what's what or how to us them, is a completely different question.
Wrong is evil and must be defeated. - Jeff Ello
-
It's a mess, but there's a method in the madness. I'm using a computer with an english UI (CurrentUICulture) so that I can easier search error messages. But I still want to have Swedish format (CurrentCulture) on money, date, time, decimal comma and so on. The fact that to few people have a clue on what's what or how to us them, is a completely different question.
Wrong is evil and must be defeated. - Jeff Ello
Exactly that's the background of the mixed English/German cultures. That's the first time I was faced with such a mixture. And thus I learned to take a closer look what type of Culture to use in future: CurrentUICulture for language, CurrentCulture for formats.
-
Exactly that's the background of the mixed English/German cultures. That's the first time I was faced with such a mixture. And thus I learned to take a closer look what type of Culture to use in future: CurrentUICulture for language, CurrentCulture for formats.
Bernhard Hiller wrote:
That's the first time I was faced with such a mixture. And thus I learned to ...
That's the most important thing
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.