[Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

Christian Theune ct at gocept.com
Fri Oct 29 02:36:20 EDT 2010


On 10/29/2010 08:26 AM, Michael Howitz wrote:
> Am 27.10.2010 um 08:52 schrieb Christian Theune:
>> On 10/27/2010 08:44 AM, Michael Howitz wrote:
> [...]
>>> +1 But the `mapping` attribute should update the existing mapping of the message ID as this would allow to have a partial mapping stored on the message ID and add the other part when translating.
>>
>> Does this use case really appear that often?
>
> I think of it as low hanging fruit.

You're probably right.

>> I see that there isn't much danger to doing that as the mappings
>> shouldn't be too large anyway and the code that processes them doesn't
>> allow for control structures based on their values so having superfluous
>> values wouldn't hurt and this behaviour would keep old code working.
>>
>> OTOH can you make a feature request for this so I can deal with it
>> separately?
>
> https://bugs.launchpad.net/zope.i18n/+bug/668189 (Did not find out how to make a feature request, so filed it as bug.)

Make a bug and mark it wishlist. I've done that for your.

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development


More information about the Zope-Dev mailing list