[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 "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 firstname.lastname@example.org ----- Original Message ----- From: "Steinar Bang" <email@example.com> To: <firstname.lastname@example.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 email@example.com, or visit http://www.oasis-open.org/mlmanage/. > > >