www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <dennis.lundb...@mdh.se>
Subject config/10040: Wrong file suffix for Swedish languge documents
Date Tue, 05 Mar 2002 14:04:24 GMT

>Number:         10040
>Category:       config
>Synopsis:       Wrong file suffix for Swedish languge documents
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Mar 05 06:10:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     dennis.lundberg@mdh.se
>Release:        1.3.23
>Organization:
apache
>Environment:
Solaris
>Description:
We have done some tests using content-negotiation to supply documents in multiple languages,
much like the index-page in the documentroot of a standard Apache installation.

After reading the ISO spec for language- (639-1) and country-codes (3166) we have found that
the config directives for mod_mime/AddLanguage seem to be wrong for some languages. The convention
with different file suffices let the document author see what language a certain document
is written in.

The chosen file suffix for Swedish is ".se" which is identical to the country code, but the
language code for Swedish is "sv". In my opinion the file suffix should match the language
and not the country, espcially for a language that is spoken in more than one country. I mean,
you don't have a ".us" or ".uk" suffix for english.

I believe that the same applies to Danish, which should be changed from ".dk" to ".da".
>How-To-Repeat:

>Fix:
*** httpd.conf-dist     Tue Feb 19 11:27:10 2002
--- httpd.conf-dist.patch       Tue Mar  5 14:45:06 2002
***************
*** 748,754 ****
      AddLanguage ltz .lu
      AddLanguage ca .ca
      AddLanguage es .es
!     AddLanguage sv .se
      AddLanguage cz .cz
      AddLanguage ru .ru
      AddLanguage zh-tw .tw
--- 748,754 ----
      AddLanguage ltz .lu
      AddLanguage ca .ca
      AddLanguage es .es
!     AddLanguage sv .sv
      AddLanguage cz .cz
      AddLanguage ru .ru
      AddLanguage zh-tw .tw
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message