bug 258246: RFC: Accept language header: 'en-gb' and matching

Tobias Burnus tobias.burnus at physik.fu-berlin.de
Mon Sep 13 09:50:35 UTC 2004


Hello,

Gervase Markham wrote:

> David Miller wrote:
>
>> In otherwords, we can't depend on the presence of a generic "xx" to 
>> be compatible with "xx-yy"
>
> I can see why they say that, to cover their backs - but surely it is 
> in fact true in 99% of cases?
>
> If, as Tobias asserts, there are a bunch of misconfigured clients out 
> there sending only de-de and not de, surely this trumps the 
> possibility that someone sending pt-BR would rather have en than a 
> generic pt?

I tried Mozilla 1.7.2; when I set the languages to 
'de-de','en-gb','fr-fr' it sends only the following:
HTTP_ACCEPT_LANGUAGE  de-de,en-gb;q=0.7,fr-fr;q=0.3
This is according to RFC -- though it should have asked whether I also 
want to have de/en/fr.

Tobias



More information about the developers mailing list