You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ricardo Trindade <Ri...@myrealbox.com> on 2002/05/03 19:20:39 UTC

i18n

Hi,

	I'm wondering what is the preferred use of i18n. I'm developing a
bi-lingual site.

	I've looked at message catalogs, but I don't want to insert all my content
in a single file (of course).

	should I use the locale variable to choose between directories that have
translated xml files with content ?

thanks
Ricardo Trindade


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: i18n

Posted by Konstantin Piroumian <kp...@apache.org>.
> Hi,
>
> I'm wondering what is the preferred use of i18n. I'm developing a
> bi-lingual site.
>
> I've looked at message catalogs, but I don't want to insert all my content
> in a single file (of course).

You don't have to. You can use as many files as you wish. See latest i18n
samples (/samples/i18n/).

>
> should I use the locale variable to choose between directories that have
> translated xml files with content ?

That depends on the nature of your site. If it's more information site then
it'll be better to have separate directories. But if it's data-driven
application, where most of the data comes from a database and you have a lot
of input forms, then it's worth using i18n transformer.

--
  Konstantin

>
> thanks
> Ricardo Trindade
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>