Previously Martijn Pieters wrote: > On Sat, May 10, 2008 at 3:40 PM, Hanno Schlichting <[EMAIL PROTECTED]> wrote: > > Currently i18ndude doesn't extract any messages from ZCML. It is used for > > extraction of all messages for the Plone project which happens to use lots > > of ZCML. But none of the messages defined in ZCML are actually used in any > > user visible part of the whole application. > > > > So even if you are a Zope project, I think there's very good reasons not to > > require ZCML extraction. > > Although the ZMI may not count as a 'user visible' part, Generic Setup > profile titles do show up there, which are defined in ZCML and should > be translatable. > > Also, these days it is possible to register content views (such as the > default view for a folder) through ZCML, using a menu directive for > the title. Again these titles should be translatable.
zcml is a pretty simple format though: xml with only human readable text in title and description attributes (and perhaps a few others) and the translation domain specified in a i18n_domain attribute. It should be quite trivial to extract that data without having to pull all of zope in. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )