forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Language Selection?
Date Fri, 08 Nov 2002 06:03:42 GMT
On Fri, Nov 08, 2002 at 09:13:04AM +1100, Peter Donald wrote:
> On Fri, 8 Nov 2002 04:15, Jeff Turner wrote:
> > On Fri, Nov 08, 2002 at 03:30:07AM +1100, Peter Donald wrote:
> > > Hi,
> > >
> > > What do you think of adding a language to the skinconfig ? It would then
> > > add a language code into the html tag like
> > >
> > > <HTML lang="en">...
> > > <HTML lang="en_au">...
> > > <HTML lang="fr">...
> >
> > Wouldn't it be more appropriate in the individual files?
> 
> yep. But that would require a DTD change ;)
> 
> > Or how about specifying a default language in book.xml:
> >
> > <book software="Forrest"
> >       title="Apache Forrest"
> >       copyright="@year@ The Apache Software Foundation"
> >       language="en_au"
> >       xmlns:xlink="http://www.w3.org/1999/xlink">
> > ...
> > </book>
> >
> > and then in the future, individual pages could override it.
> 
> You could do that but then you have to make sue you do it for every file.

Every book.xml file, ie one per directory, not per file.

> Where in reality most sites are all one language. IMHO there should be
> some mechanism to setup a default language - this could be overidden by
> book.xml or pages.

There's vague plans to create a unified site description file, where this
would fit.  When that comes, book.xml's will go away too.  Until then,
book.xml is probably the best content metadata file we have..


--Jeff

> -- 
> Cheers,
> 
> Peter Donald
> "Artists can color the sky red because they know it's blue.  Those of us who
>  aren't artists must color things the way they really are or people might 
>  think we're stupid." -- Jules Feiffer 
> 
> 

Mime
View raw message