Do System.Globalization.CultureInfo return user settings or server settings? RRS feed

  • Question

  • User1727542473 posted

    I want to get the users culture information to set localization (IF user dont have any settings) but when I use this it seems like it gives me the servers culture info (Or at least dont change if I add another language to my browsers language)

    string cultureLanguage = System.Globalization.CultureInfo.CurrentCulture.ThreeLetterISOLanguageName;

    Monday, July 16, 2012 6:47 AM

All replies

  • User-661350001 posted

    first time its servers settings once you set the settings then its for that particular user session 

    Monday, July 16, 2012 7:00 AM
  • User1727542473 posted

    So I have to manually set the setting on the server and save it in a session?

    Monday, July 16, 2012 7:47 AM