This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
"myfile.html.en".

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
bobs@sagehill.net


----- 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
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]