forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Language Selection?
Date Thu, 07 Nov 2002 22:13:04 GMT
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. 
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.


-- 
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