I am trying to understand how the JavaScript running in the various browsers determines the locale that will be used by the JavaScript Date
object when using the method toLocaleString()
.
I have changed the language and locale settings of my system through Windows control panel and I have also changed every browser's language settings to the same. The function still returned an English date.
Is there a registry setting on windows that you have to manually set? Did I miss some setting somewhere? Or do I have to get a Windows install disc for particular regions?