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

Bug#522733: Debian Developer's Reference: FR instead of EN



On Tue, Apr 07, 2009 at 09:47:21PM +0200, Simon Paillard wrote:
> On Tue, Apr 07, 2009 at 07:12:48AM -0700, Matt Kraai wrote:
> > On Tue, Apr 07, 2009 at 10:09:09AM +0200, Simon Paillard wrote:
> > > On Mon, Apr 06, 2009 at 03:40:17PM -0700, Matt Kraai wrote:
> > Sorry, I used some misleading terminology.  The links to the "Scope ofx
> > This Document" section in the Table of Contents at
> >  http://www.debian.org/doc/developers-reference/
> > and
> >  http://www.debian.org/doc/developers-reference/index.fr.html
> > 
> > both point to
> >  http://www.debian.org/doc/developers-reference/scope.html
> > 
> > Since the only scope files are
> >  scope.en.html
> >  scope.fr.html
> >  scope.jp.html
> > 
> > none of these files are served up.  I think that the links in the
> > Developer's Reference need to be changed to remove the .html suffix,
> > in which case they'll work with the content negotiation.
> 
> http://httpd.apache.org/docs/2.0/content-negotiation.html#naming 
> tells the content negociation with multiview could not display
> scope.$lang.html when scope.html is requested.
> 
> However, http://debian.org/releases/stable/index.fr.html and
> http://debian.org/releases/stable/index.html do display french while
> http://debian.org/releases/stable/index.html.fr doesn't work, hence my
> doubts.
> 
> http://debian.org/doc/devel-manuals#devref hardcodes the
> file.$lang.format.
> 
> Is there a multiviews configuration which would not apply to /doc/ ?
> What do I miss ?
> 
> symlinks index.html.$lang -> index.$lang.html can be created in the cron
> task that updates the doc.

Most of the links on the Debian website don't use any extensions.
Would it be possible to modify the developer's reference to do the
same?  If not, I think we'll have to have the symbolic links, but I
think that would prevent language negotiation from working for other
languages.

-- 
Matt                                                 http://ftbfs.org/



Reply to: