[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug 358459: The problem could be solved on Debian's side



Le jeudi 9 octobre 2008 21:07:37 Franklin PIAT, vous avez écrit :
> On Thu, 2008-10-09 at 16:55 +0200, Didier Raboud wrote:
> > My actual konqueror (3.5.9.dfsg.1-5) sends "Accept-Language: fr,en",
> > which, according to RFC2616 (HTTP1.1) [0], means that both french and
> > english are _equally_ acceptable (Section 14.4) :
>
> [..]
>
> > My proposal is to render the correct language page according to the
> > user's priority list (ordered list), instead of the server's.
>
> If the web server were to render page according to the list order, it
> would mean that it doesn't consider them "equally acceptable".
>
> The way I understand the specs is that if a user states that two
> languages are "equally acceptable", then it means that it's up to the
> server to negotiate, based on it's own criteria.

The problem in this case is that it's not the _user_ who is stating its 
priorities, but the software he uses...

> The RFC2616 "12.1 Server-driven Negotiation" says :
> > However, an origin server is not limited to these dimensions and MAY
> > vary the response based on any aspect of the request, including
> > information outside the request-header fields or within extension
> > header fields not defined by this specification.
>
> And that's very useful for server side negotiation, because on the
> server side, it's likely that the language were written in one given
> language, then translated. It would then be sensible to provide the
> original document.
>
> Thanks for the suggestion anyway (and Keep reporting bugs).
>
> Franklin

Many thanks for your detailed explanation. My more immediate concern is that 
for a very long time now, konqueror users are still shown an english Debian 
homepage, which is really annoying.

I'll _maybe_ try to find time to go through the konqueror sources and try to 
find where a simple patch could apply to correct this annoying behavior. 
Let's hope I'll find time ! ;)

Don't worry : I won't stop reporting and contributing for and on bugs : what 
lacks is time and knowledge, not motivation ;) .

Best regards, 

OdyX
-- 
Didier Raboud, proud Debian user.
CH-1802 Corseaux
didier@raboud.com

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: