cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: i18n catalogue and sql
Date Mon, 30 Dec 2002 08:07:52 GMT
From: "Cocoon User" <cocoon@eng.gr>

>
> hy people
>
> i have found very usefull the i18n processing
> but what happend when you  have large text?

It's not recommended to use i18n transformer for large texts. There are
several other ways to solve that task: use XInclude/CInclude, XSLT with
document() function, sitemap aggregation, etc. Another possibility is to use
separate content files for different languages, e.g: index_en.xml,
index_ru.xml, ..., and then use an action or an input module to retrieve the
needed one based on the user's locale (you can use LocaleAction and its
'language' sitemap parameter).

>
>
>
> is it possible for catalogues to retrieve data from an sql server
> mySQL for example

Recently there was commited a patch that allowed to use any source as input
for the XML catalogue, so you can easily use 'cocoon:/' protocol or any
other to retrieve your dictionary data from a database. Note, that
implementation of i18n and especially the catalogue handling part is quite
different in 2.0.x and 2.1-dev versions.

Konstantin

>
>
> xml page -ID-> catalogue -ID-> data from SQL
>
>
> thnx
>
> stavros
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.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