cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oskar Werewka <...@poczta.onet.pl>
Subject Re: Internationalization
Date Thu, 03 May 2001 09:38:47 GMT


>I don't know if you use Cocoon 1.8 or Cocoon 2. If you use C2 have a
>look at the I18nTransformer.

I am waiting for official C2 distribution.

>Giacomo
>
>On Wed, 2 May 2001, Oskar Werewka wrote:
>
> >
> > 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