Helena Edelson wrote:
Torsten Stolpmann wrote:
Hello dev-team,
In forrest 0.7 I noticed the following definition in sitemap.xmap:
<map:transformer name="i18n"
src="org.apache.cocoon.transformation.I18nTransformer">
<catalogues default="common">
<catalogue id="common" name="CommonMessages"
location="skins/common/translations"/>
</catalogues>
<cache-at-startup>true</cache-at-startup>
</map:transformer>
Shouldn't the location of the catalogue read as follows to allow for
changing the project skins directory?
<catalogue id="common" name="CommonMessages"
location="{project:skins-dir}common/translations"/>
That is a good point for those creating a customized skin per project.
- helena
Exactly. This solves the mystery why changes to a project-local copy of
the translations in the common skin section won't have any effect. This
puzzled me for quiet some weeks until I was desperate enough to hunt it
down.
Regards,
Torsten