Subject: RE: [xsl] multilingual web site From: "Kearney, Bryan" <bkearney@xxxxxxxxxx> Date: Mon, 5 Mar 2001 12:23:41 -0700 |
We are looking at a design where XSL is used to pre-process a set of other XSL templates. For example: 1) Source.xsl has the structure of the xsl to be generate.. but no text. All text is specified by a special tag like <myText id="12"/> 2) Merge.xsl - Uses a key to lookup the id against a localized string file. 3) A process which iterates over a series of Source.xsl one for each language specific strings file. The belief is that the language translation is "dynamic" but not reall dynamic on a per user requets. This allows us to change the language or the structure independent. -- bk >> -----Original Message----- >> From: skhurshid@xxxxxxxxxx [mailto:skhurshid@xxxxxxxxxx] >> Sent: Monday, March 05, 2001 12:01 PM >> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx >> Subject: [xsl] multilingual web site >> >> >> >> >> Hi, >> >> I'm a software engineer and am looking >> for ways to make the internationalization of our web site >> more managable. Currently we maintain seperate html >> documents for each lanaguage. Since the layout of the documents >> is very similar (just the displayed text >> differs in language) I figured there must be a mechanism >> for maintaining a single html document and generating the >> translated html documents from this single document. I'm >> thinking of using xml & xslt as a possible solution. Has >> anyone used similar solutions ? >> I would greatly appreciate any suggestions on this issue >> or if someone could point me to other resources. >> Something with examples would be great. >> >> I'm envisioning a solution such as: >> >> an xml file with the following: >> <pagetitle>MY PAGE TITLE IN ENGLISH<pagetitle> >> >> which would be translated into: >> <pagetitle>MY PAGE TITLE IN ANOTHER LANGUAGE<pagetitle> >> >> and an XSL (or XSLT) file which would take this XML file and >> translate >> it into and HTML page. >> >> We have hundreds of HTML pages and it would be awsome if there >> was a tool out there that could make something like this >> easier for us. >> >> Thanks in advance :-) >> -Sher >> >> >> >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list >> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] multiple xml as input, Michael Kay | Thread | Re: [xsl] multilingual web site, Christopher R. Maden |
Re: [xsl] substrings with entities , Michael Beddow | Date | [xsl] [ANN] XSLT-UK. Any more?, Dave Pawson |
Month |