W3C home > Mailing lists > Public > www-international@w3.org > April to June 2008

Re: Language tag education and negotiation

From: Leif Halvard Silli <lhs@malform.no>
Date: Mon, 28 Apr 2008 03:30:51 +0200
Message-ID: <481528CB.3040309@malform.no>
To: John Cowan <cowan@ccil.org>
CC: www-international@w3.org

John Cowan 2008-04-26 17.44:
> Leif Halvard Silli scripsit:
>
> > What you said above indicates that servers also must learn.
>
> Yes.  The fallback algorithm is hard-coded into Apache, and it would be a
> Good Thing to be able to add Apache directives that would modify its
> behavior so that a request for "nn" would fall back to "no" (and then
> maybe "nb").
>   

Through a friend, I just now became aware of a problem with mapping 'nb' 
to '.nb' on Apache. It turns out that the 'nb' MIME extension belongs to 
Mathematica [1]. Thus even if I use AddLanguage to mape nb to .nb, it 
doesn't work, becuase the file is served as application/mathematica.

This perhaps explains why Apache by default uses only the mappings '.nn' 
for 'nn' and '.no' for 'no'.

I don't know how simple it could be to get Apache to remove the 'nb' 
mapping from the Mathematic application? But I think, anyhow, that a 
solution might be to let 'nb' be mapped to '.no'. That might be the most 
compatible way to get everyone, except those that beg on their knees, to 
switch to using the language tags 'nn' and 'nb'.

[1] http://www.iana.org/assignments/media-types/application/mathematica
-- 
leif halvard silli
Received on Monday, 28 April 2008 01:31:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:17 GMT