From: Hanno S. <pl...@ha...> - 2008-03-18 13:44:02
|
Martin Stadler wrote: > Am 18.03.2008 um 12:04 schrieb Hanno Schlichting: >> Martin Stadler wrote: >>> >>> Workflow >>> -------- >>> >>> Creating an old-style product just to add these few terms to the >>> plone >>> i18n domain seems to be the only solution. > > Is there a reason why it is impossible to use my own i18n domain in my > workflow as I can in ATConentTypes? I don't see why the state and > transition terms of my product go into the plone domain. If it were > possible there wouldn't be the need to combine different domains in > one egg. There are still a lot of places in Zope/Plone which do not use Zope3 Messages but simple text. For a simple text string the i18n domain used to translate it, is the one defined in the template which renders the text. As the templates are part of Plone, the plone domain is used. We have changed a whole lot of code already to use Messages (which are basically just a text plus a domain) instead of plain text, so you can use your own domain in a variety of places. This transition has started with Plone 2.5, but so far not all code has been updated. Especially code that originates from CMF has seen little change which includes everything related to workflows, types and to some degree actions. The situation we are in right now isn't very fortunate, but the result of being in the middle of an evolutionary approach into the direction of 'all-messages'. Hanno |