This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Language translation
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Language translation
- From: "Sebastian Rahtz" <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Fri, 22 Jun 2001 00:19:34 +0100
- References: <45EE262AC8CED4118A990002B31532051E0829@ZEPHYR>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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