Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

In .NET there are two "culture" values, UICulture and Culture. The first one is for localized texts on the UI, while the latter sets the culture for date and number formats.

I can't come up with any reason or scenario for those two values to be different. Is there some reason to do so?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

In some cases they can be different for example if you live in a foreign country and you want to change the UI language to a language that you are familiarly with, but you still want to use the date and number formats of that foreign country like:

<globalization uiCulture="es" culture="en-US" />

The other way around if you are doing business with an other country that your own, you probably want to use you own language, but change the date and number format.

And most of the time they are diffrent because you use the main culture (without the subculture) for the UI, en instead of en-US.

share|improve this answer
    
Nice explanation, thank you, didn't think about that. –  Dominik G Oct 1 '12 at 11:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.