[Zope3-dev] Re: i18n domains vs. unique message ids -OR-
whyShakespearean English was better
Shane Hathaway
shane at zope.com
Mon Aug 18 14:29:26 EDT 2003
Fred L. Drake, Jr. wrote:
> Philipp von Weitershausen writes:
> > It would have to be solved for ZCML, though. Where do we specify the
> > 'view_permission' message id in the statement::
> >
> > <permission id="zope.View" title="View" /> ?
> >
> > Maybe::
> >
> > <permission id="zope.View" title="[view_permission] View" />
>
> This seems reasonable to me. The only possible issue would be using
> the implied message id for something where the default text looks like
> that; I'll propose that:
>
> <permission id="zope.View" title="[] [View] more text" />
Why not write it this way?
<permission id="zope.View" msgid="view_permission" title="View" />
This would translate to two directives: connect the message ID
"view_permission" with the permission "zope.View", and provide the
English word "View" for the message ID "view_permission".
Then again, maybe permission IDs should also be message IDs. It seems
confusing to have both "zope.View" and "view_permission".
Shane
More information about the Zope3-dev
mailing list