(e-mail address removed) said the following on 6/22/2007 11:57 AM:
In pure JavaScript, how can I know what language/culture the user is
currently in?
The language won't tell you much as it doesn't differentiate between
cultures/dialects.
navigator.language
So I could display a page with a dollar sign if USA but
a pound symbol if GBR, for example.
While the goal is admirable it is more trouble than it is worth and very
undependable. Put a select list and let the user choose what currency.
If an American is traveling in Italy and visits your site, should they
get Italian or US Currency? Of all the visits to Italy, I have possessed
Italian currency once. I always use US Dollars (even though I know it
costs me money).