In c# I use the below method in order to get the CultureInfo.
System.Globalization.CultureInfo.CurrentCulture.Name // output :en-US
Can any
This is a very old post an is definately in need of an update. All major browsers now support the navigator property. Simply use
var lang = navigator.language