JavaScritp does not really give you the ability to see the system locale. You can see what langauge they have by looking at the navigator object. Note that IE and Firefox have different things in the navogator object.
Paste the following into the address bar to see what is available: