Re: [xsl] Language translation

Subject: Re: [xsl] Language translation
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 00:19:34 +0100
Maulik Modi writes:
 > I have an XML document in English and I want to transform its content to
 > French or German or whatever. IS there any way in XSL I can apply the
 > appropriate stylesheet to do this and how do I do it? I imagine there is a
 > dictionary out there which is what I am looking for.

do you really think that translation is  a 1-1 dictionary lookup job?
If so, it would be fairly easy in XSL. Write an identity transform,
and write a template for text() which loops over each word and does a
lookup from a second XML file. Pretty easy. It won't be what I call a
translation, though.....

Sebstian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread