You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sanket Pattekar <sa...@gmail.com> on 2007/03/22 15:46:18 UTC
Problem with cocoon 2.1.8 and i18n transformer
Hi,
I am using cocoon 2.1.8, and is using i18n transformer for
internationalization. I have a issue with i18n caching.
I generate the catalogues using pipeline, i.e I have the following for
my i18n declaration
<map:transformer name="i18n" logger="sitemap.transformer.i18n"
src="org.apache.cocoon.transformation.I18nTransformer">
<catalogues default="others">
<catalogue id="menu" name="menu" location="cocoon:/translations"/>
<catalogue id="others" name="others" location="cocoon:/translations"/>
</catalogues>
<cache-at-startup>true</cache-at-startup>
</map:transformer>
I have the following pipeline defined for the transaltions
<map:match pattern="translations/*_*.xml">
and <map:match pattern="translations/*.xml">
where in I generate the catalogue xml file. It looks like i18n
transformer caches the xml file, and doesnot fetch the same again. I
therefore have a problem, where the output of the above pipeline gives
me a different values, but the transformer still shows me the
incorrect values.
Please help
Sanket
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problem with cocoon 2.1.8 and i18n transformer
Posted by Grzegorz Kossakowski <gk...@apache.org>.
Sanket Pattekar napisał(a):
> Hi,
>
> I am using cocoon 2.1.8, and is using i18n transformer for
> internationalization. I have a issue with i18n caching.
>
> I generate the catalogues using pipeline, i.e I have the following for
> my i18n declaration
>
> <map:transformer name="i18n" logger="sitemap.transformer.i18n"
> src="org.apache.cocoon.transformation.I18nTransformer">
> <catalogues default="others">
> <catalogue id="menu" name="menu"
> location="cocoon:/translations"/>
> <catalogue id="others" name="others"
> location="cocoon:/translations"/>
>
> </catalogues>
> <cache-at-startup>true</cache-at-startup>
> </map:transformer>
>
> I therefore have a problem, where the output of the above pipeline gives
> me a different values, but the transformer still shows me the
> incorrect values.
Maybe just set cache-at-startup to false? :)
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Problem with cocoon 2.1.8 and i18n transformer
Posted by johnson <jo...@erp.tw>.
in 2.1.7 the same problem, and in 2.1.10 it's ok.
johnson
Sanket Pattekar 提到:
> Hi,
>
> I am using cocoon 2.1.8, and is using i18n transformer for
> internationalization. I have a issue with i18n caching.
>
> I generate the catalogues using pipeline, i.e I have the following for
> my i18n declaration
>
> <map:transformer name="i18n" logger="sitemap.transformer.i18n"
> src="org.apache.cocoon.transformation.I18nTransformer">
> <catalogues default="others">
> <catalogue id="menu" name="menu" location="cocoon:/translations"/>
> <catalogue id="others" name="others" location="cocoon:/translations"/>
>
> </catalogues>
> <cache-at-startup>true</cache-at-startup>
> </map:transformer>
>
> I have the following pipeline defined for the transaltions
>
> <map:match pattern="translations/*_*.xml">
>
> and <map:match pattern="translations/*.xml">
>
> where in I generate the catalogue xml file. It looks like i18n
> transformer caches the xml file, and doesnot fetch the same again. I
> therefore have a problem, where the output of the above pipeline gives
> me a different values, but the transformer still shows me the
> incorrect values.
>
> Please help
>
> Sanket
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org