I have a task where I need to check the browser language and display my application in that language (if supported) else en_US will be my default language. I tried navigator.browserLanguage and navigator.language but after changing my browser language from Tools->Options->Content-Language it actually didn't make any difference, could you please suggest me how to do this.

It seems this can be done by reading HTTP headers, is there any way of doing this.