On 3 Mar 2005, at 13:05, Vadim Gritsenko wrote:

Jeremy Quinn wrote:
Hi All
One of the differences between 2.1.6 and 2.1.7-dev that is a bit of a nuisance is i18n reloading.
eg.
<map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
<catalogues default="forms">
<catalogue id="main" name="main" location="{proj:/config/loc/i18n}"/>
<catalogue id="config" name="configuration" location="{proj:/config/loc/i18n}"/>
<catalogue id="editor" name="editor" location="{proj:/config/loc/i18n}"/>
<catalogue id="report" name="report" location="{proj:/config/loc/i18n}"/>
<catalogue id="handout" name="handout" location="{proj:/config/loc/i18n}"/>
<catalogue id="wiki" name="wiki" location="{proj:/config/loc/i18n}"/>
<catalogue id="forms" name="FormsMessages" location="context://samples/blocks/forms/messages"/>
</catalogues>
<cache-at-startup>true</cache-at-startup>
</map:transformer>
Regardless of the setting in <cache-at-startup/> i18n is always cached in 2.1.7.

Try files instead of proj:. Reloading always worked for me.

proj is just an input module that expands to :

        content/i18n/

Not sure if cache-at-startup is relevant anymore. I'd probably go for cacheable and reloadable parameters - makes more sense to me.

The parameter has changed ?

thanks

regards Jeremy


Vadim


If you want to see edits in message files, you need to restart Cocoon.
This is the complete opposite to 2.1.6, where regardless of the setting you could always see edits by doing a browser reload, but you could not get it to cache.
Any ideas anyone?
Another issue I would like to raise, regarding CForms going Stable, is, could we not take this opportunity to add a catalogue declaration to all CForms i18n usage, so it does not have to be the default i18n catalogue whenever it is used?
thanks
regards Jeremy


--------------------------------------------------------

                  If email from this address is not signed
                                IT IS NOT FROM ME

                        Always check the label, folks !!!!!
--------------------------------------------------------


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to