- From: Pete Harlow <peter.harlow@thales-transportservices.com>
- Date: Wed, 30 Jun 2004 11:21:35 +0200
Martin Kutschker wrote: > > What's the users locale? OS/UI settings? Browser settings? Both in fact. I'll list mine, because they are a horrible hack, most will be somewhat saner! This is the OS Locale I run my browser (Mozilla) in (these are OS environment variables): LANG="en_GB.iso88591" LC_CTYPE="en_GB.iso88591" LC_NUMERIC="en_GB.iso88591" LC_TIME="sv_SE.iso88591" LC_COLLATE="en_GB.iso88591" LC_MONETARY="fr_FR.iso885915 at euro" LC_MESSAGES="en_GB.iso88591" LC_PAPER="en_GB.iso88591" LC_NAME="en_GB.iso88591" LC_ADDRESS="en_GB.iso88591" LC_TELEPHONE="fr_FR.iso885915 at euro" LC_MEASUREMENT="fr_FR.iso885915 at euro" LC_IDENTIFICATION="en_GB.iso88591" The LC_TIME is Swedish to get the date in ISO (2004-06-30) format, LC_MONETARY is French as we use the Euro here, measurement and phone format are French and the rest are British English as that is the primary language I use. So I concur with what has been said before - use a standard format for the data exchange and let the UA present the form according to the locale in force on the platform. If the UA is not able to do this, the default should be the ISO 8601 format. My browser sends the following accept header (which is configurable in the browser options): en,fr;q=0.8,en-gb;q=0.5,fr-fr;q=0.3 which I take to mean 'Send English if you have it, otherwise French, by the way, if you have it and you are sending English British English would be best, and likewise French French...' Which is then ignored by 99,999% web sites (or is it 99.999%?). I've only written one page that returns language according to the accept header. To address an earlier point I did say that ISO date format is *often* used in Europe - e.g. in many documents intended for international circulation. There are only one or two who have this as the customarily used format. Regards, Pete. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Thales, its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Received on Wednesday, 30 June 2004 02:21:35 UTC