[Zope3-dev] There's something wrong with having message ids in
schemas
Martijn Faassen
faassen at infrae.com
Fri Dec 10 10:29:40 EST 2004
Stephan Richter wrote:
> On Thursday 09 December 2004 08:55, Martijn Faassen wrote:
>
>>Wouldn't it be possible to remove the whole message id story from this
>>layer, and have the presentation layer create a message id from the
>>underlying title and description? If you really want to have an explicit
>>message id different from the literal text, you'd need to specify it
>>somewhere else, but in Infrae's experience explicit message ids tend to
>>be more pain than they're worth anyway.
>
> I wish we could use such an approach, but there are two problems. How do we
> know which attributes should be message ids and which should not? Also, we
> still need to specify the domain.
You can still *extract* them from the same place as you do now. It's
true that you'd have no way to specify the domain, though you could do
that in the translation layer too. You could use a domain hint on the
schema which does not require a dependency on i18n.
Regards,
Martijn
More information about the Zope3-dev
mailing list