Yes that's a good idea. We could add a fragment for application.xml
that generates this part.
There's a subtlety, which is that the first resource bundle with the
looked up value is used, which means that fragment contributions will
have to be prepended and not appended if we want later modules to
override the earlier ones (and thus allow overriding of
translations). But Bogdan has already done the framework to do that
(mode="prepend" for the <template> in the deployment-container.xml).
Actually, if the speed is all right, I think doing all messages
contribution this way would be cleaner than the current append-at-
deployment-time, Bogdan what do you think ?
Florent
On 26 May 2007, at 00:06, Sean Radford wrote:
Hi,
Can (and how) can one extend the Seam core:resourc-bundle to add a
new (set of)
localisable messages?
From looking at subversion it appears to me that it is not
possible... I see
that components.xml is deployed to OSGI-INF/templates and has no
mention of the
core:resource-bundle component.
I presume that something akin to the deployment fragment
"components#PAGEFLOW"
could be created? Any plans for such?
Regards,
Sean
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm