How to getting browser current locale preference using javascript?
- by The Sheek Geek
Does anyone know how to obtain the browser culture from firefox and google chrome using javascript? Note: This is an asp.net 3.5 web application.
The requirement is to try and set the applications display culture based on the browser culture. I have found very few bits and pieces of information for the other browsers but they do not seem to work.
I am able to get it in IE with the following snipit of code:
var browserCulture = this.clientInformation.browserLanguage;
Any info would be great!