[whatwg] Re: internationalization/localization
Pete Harlow
peter.harlow at thales-transportservices.com
Wed Jun 30 04:47:17 PDT 2004
Peter Karlsson wrote:
> Pete Harlow on 2004-06-30:
>
> [Accept-Language]
>
>>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...'
>
>
> You have it slightly backwards. en will include en-gb, not the
> opposite, which means that your en-gb and fr-fr rules will never be
> checked. http://www.debian.org/intro/cn#howtoset has a good
> introduction on how to use it.
>
Thanks, I see what you mean. I must confess I haven't read the spec
concerning this. Ideally, then, the UA shouldn't allow a sub-category of
language to be specified after the generic language code, as a warning
to ignorant users (like me!)
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.
More information about the whatwg
mailing list