OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] [Q] multilingual website?

The Apache content negotiation system adds the language code as a suffix to
the filename, so you want to generate  "myfile.html.no" and

Since the tocentry elements in layout.xml let you specify the output
filename using the 'filename' attribute, I would think this would not be
hard to set up.  Just make sure each webpage has the proper lang attribute
and its tocentry has the right filename.  I haven't acutally tried it, so
there may be other things to consider.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Steinar Bang" <sb@dod.no>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, March 13, 2004 2:27 PM
Subject: [docbook-apps] [Q] multilingual website?

> Has anyone done any work to use Website to generate multilingual
> website?
> Ie. instead of generating plain .html files, generate .no.html and
> .en.html (or was it ".html.no" and ".html.en"?), whatever is used by
> the content negotiation module of apache, to find a best match for the
> request.
> I tried a quick google search, and Dave's FAQ, but didn't find
> anything to that effect.
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]