This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

multilanguage XSL file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]