[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

multilanguage XSL file

Subject: multilanguage XSL file
From: BEKE Frantisek <beke@xxxxxxxx>
Date: Tue, 22 May 2001 09:37:00 +0200
xsl multilanguage
Hello!

I need to do multilanguage webpages using cocoon 1.8.2.
Is there any simple or commonly used way to achieve this?

I think about two options:
(1.) i have for every language a xslt stylesheet with templates for every 
string (containig just a string) in the xsl and i will conditionally include
one of them into the "main" xsl and just call a template for every string.
or
(2.) i have for every language a template (in a separate xsl file)
with a parameter, that is some id of the string and in this template
i return a string depending of this parameter (using <choose>...).
>From the main xsl i will just call this template with a parameter 
of the string id, i need.

What's the faster method? Or is there any other common way to do this?

Thank you!

Regards,
  F. Beke

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.