Difference between nl-BE and nl_BE?
What is the major difference and why there are two cultures available in .NET, one with dash and one with underscore?
I want to change my app from "nl_BE" to "nl-BE" but I can't find any article about the implications of doing this.
6 Replies
nl_BE is a real culture, provided by Windows, and nl-BE is a "fake" one
see if the formatting is any different
eg. of numbers, dates
by fake culture I mean dotnet creating cultures when you pass eg. "fa-KE"
I defined all cultures with underscore but I got now in the situation that I have nl_BE and nl_NL and the resource files .nl.resx because I CAN'T name resources with .nl_be.resx and .nl_nl.resx
I can't have two separate resource files for BE and NL, because I can't name them with underscore.
try naming the resx with a dash nl-BE
but keep the underscore elsewhere
I did that. ResourceManager can't find the resource file if is named with dash eg nl-BE when the current culture is nl_BE
wait try lower case .nl-be.resx
tried that too. Not working also