[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using XSLT for multi-lingual transforms (was: Re: genera
On Thu, 27 Apr 2000, Paul Tchistopolskii wrote: > > ----- Original Message ----- > From: Etienne Posthumus > > > I have never worked for the translation startup and I don't have a clue > > what those things are... ;-) Any Tips & Enlightenment welcome! > > I'm sorry if my notification was abusing. ( I think I have to use such > things, to prevent the explanations of 'localhost' ). > > Well .. the tip N1 could be that to maintain large multilingual website > the simplest solution could be to assign different http port > to each language. 80 to English, 81 to German e t.c. This allows > to keep the structure of ( actualy two ) websites the same and > not to spend much time on changing the URL's. I mean you can > have > > <A href="/somelink.here.xml"> in both vesions of > the same document, but not > > <A href="/somelink_eng.xml"> in English version and > <A href="/somelink_german.xml"> in German version. > > With such design you have no need to worry about the > "language mode" when generating the urls ( because > the port number is the "language mode" and it is always > accessible when you need it ). Such thing should minimize > your need in multiple stylesheets. There are also > some other ways, like proxies e t.c. There is realy too > many different solutions there. Lets not forget the standardised method of content negotiation here! If you're running Apache, you can just have several files: file1.xml.en file1.xml.de file1.xml.fr And Apache's mod_negotiation sorts out the details for you provided you enable the Options MultiViews. See http://www.apache.org/docs/mod/mod_negotiation.html I'm not sure about XML delivery systems for apache that can use this system, other than my own, so here's a plug for the Apache XML Delivery Toolkit: http://xml.sergeant.org/axdtk/ -- <Matt/> Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org http://xml.sergeant.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|