On Wednesday 30 January 2002 09:29, you wrote: > On Wed, Jan 30, 2002 at 06:29:29AM -0500, Terrence Brannon wrote: > > How easy is it to build a website in AxKit that has > > > > spanish, english and japanese versions? > > > > Are there any examples of this? What would it entail? > > I have a little example at http://babyl.dyndns.org/stylesheet/babel.xps > that allows me to do stuff like > > <html> > <head> > <doc_lang available="fr,en,jp" default="en" /> > </head> > <body> > <p>Appears in all three languages.</p> > <p lang='en,jp'>Those pesky French guys will not see this.</p> > <p lang='fr'>Ils pourront, cependant, lire ceci.</p> > </body> > </html> > > > The language of the user will be (a) whatever value passed as > doc.xml?lang=<blah> or (b) the language requested by the browser or > (c) the default language specified in <doc_lang/>. > > Hope this help, > `/anick
You should be able to write a StyleChooser module to deal with this as well, just write one that analyzes request and gives you different XSLT depending on the language chosen. Or you could use XSP to construct a document that includes whichever language version you want, or I'm sure it can be done in .htaccess... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
