Re: [Zope3-dev] i18n:translate and tal:content should not use template domain

2005-11-09 Thread Jean-Marc Orliaguet
Dmitry Vasiliev wrote: Jim Fulton wrote: IMO, if a template an element with both i18n:translate and tal:content and the value inserted is not a message id, the template's domain will be used. This seems like a bad idea. It can hide failures to provide message ids because everything

Re: [Zope3-dev] i18n:translate and tal:content should not use template domain

2005-11-09 Thread Jim Fulton
Dmitry Vasiliev wrote: Jim Fulton wrote: IMO, if a template an element with both i18n:translate and tal:content and the value inserted is not a message id, the template's domain will be used. This seems like a bad idea. It can hide failures to provide message ids because everything

Re: [Zope3-dev] i18n:translate and tal:content should not use template domain

2005-11-09 Thread Jim Fulton
Jean-Marc Orliaguet wrote: ... there are cases where you need to evaluate an expression to get the msgid for instance in: there is a workaround, but it is very inelegant: http://svn.nuxeo.org/trac/pub/changeset/27505 the translation could be done in python, but I guess you would need to create

HEADS UP: Re: [Zope3-dev] RFC: Stop form machinery from providing a default translation domain of zope

2005-11-09 Thread Jim Fulton
Jim Fulton wrote: Jim Fulton wrote: in zope/app/form/__init__.py there is a method used to translate widget labels that passes zope as a domain. This means that labels that are not message ids get the zope domain. At best, this hides i18n bugs. At worst, this will lead to undesired

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/branches/zipimport-support/src/zope/configuration/DEPENDENCIES.cfg new dependency

2005-11-09 Thread Fred Drake
[Moving discussion to zope3-dev from zope3-checkins.] On 11/9/05, Stephan Richter [EMAIL PROTECTED] wrote: Could we name the package something else, like zipresource or so? Resource is a somewhat loaded word in Zope 3 already. I'm open to suggestions. I don't like zipresource since this is

Re: [Zope3-dev] i18n:translate and tal:content should not use template domain

2005-11-09 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: ... there are cases where you need to evaluate an expression to get the msgid for instance in: there is a workaround, but it is very inelegant: http://svn.nuxeo.org/trac/pub/changeset/27505 the translation could be done in python, but I guess

Re: [Zope3-dev] i18n:translate and tal:content should not use template domain

2005-11-09 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: ... there are cases where you need to evaluate an expression to get the msgid for instance in: there is a workaround, but it is very inelegant: http://svn.nuxeo.org/trac/pub/changeset/27505 the translation could be

[Zope3-dev] Object event dispatching in Zope

2005-11-09 Thread Florent Guillaume
I've posted a blog entry about object event dispatching which tries to details that complex process: http://blogs.nuxeo.com/sections/blogs/florent_guillaume/ 2005_11_10_object-event-dispatching Also on Monday I posted an entry detailing how these object events can be used through Five in