Re: [Zope3-dev] zope.i18n.translate ignores keyword arguments: desired/expected?

2006-04-11 Thread Fred Drake
On 4/10/06, Gary Poster <[EMAIL PROTECTED]> wrote: > My strawman is that all non-None `translate` keyword arguments should > win over msgid values. +1 > A valid counter-argument for domain, at least, is that this is really > an attribute of the msgid, and overriding it effectively changes the > m

[Zope3-dev] zope.i18n.translate ignores keyword arguments: desired/expected?

2006-04-10 Thread Gary Poster
Hi all. in zope/i18n/__init__.py, the _translate method used by translate, if the msgid is a MessageID or a Message then the domain, default, and mapping are all used in preference to keyword arguments, even if, for instance, the keyword is non-None and the attribute is None. Because of