cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject RE: Internationalization
Date Wed, 02 May 2001 18:41:01 GMT

Have a look at the documents.

Giacomo

On Wed, 2 May 2001, Pablo Bendersky wrote:

> Sorry for the silly question, I'm new using cocoon.
> How do you write a taglibrary ?
>
> Thanks a lot.
>
> -----Mensaje original-----
> De: Oskar Werewka [mailto:ow5@poczta.onet.pl]
> Enviado el: Miercoles, 02 de Mayo de 2001 11:19 a.m.
> Para: cocoon-users@xml.apache.org
> Asunto: Re: Internationalization
>
>
>
> It is a good question, how to develop multilingual sites (applications?)
>
> I have got something like this:
>
> - all strings in a database
> - taglibrary which inserts to my XML doc this:
>
> <labels>
> <label id="1">Process</label>
> <label id="2">Status</label>
> <label id="3">Worker</label>
> <label id="4">Client</label>
> </labels>
>
> - and then in my xsl I use this templates:
>
> <xsl:value-of select="/page/labels/label[@id='1']"/>
>
> - to get the label
>
> It works, but I would like to know how to do it better.
> I want to have labels in db because I have developed some
> application to add a new language version to the application.
> And I also have language dependent configuration tabels.
>
> >Hello !
> >I'm trying to find the best way to implement a site in multiple languajes
> >using cocoon.
> >
> >I had one idea, which was to include on every XML file a section like
> ><strings>
> >         <string1>hello</string1>
> ></strings>
> >
> >and this... So the generated XML would depend on the languaje selected by
> >the user.
> >
> >Is it the best way to do it ? I think it's not because I'm not separating
> in
> >a whole way content from presentation, because the strings used for a html
> >page can differ from the strings needed for a pdf file.
> >
> >Thanks a lot for your ideas.
> >
> >         Pablo Bendersky
> >         pbendersky@itineri.com
> >
> >
> >---------------------------------------------------------------------
> >Please check that your question has not already been answered in the
> >FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> >To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> >For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
> --
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message