[Grok-dev] Re: Organizing the further development effort

Philipp von Weitershausen philipp at weitershausen.de
Thu May 24 19:26:55 EDT 2007


Lennart Regebro wrote:
> On 5/24/07, Malthe Borch <mborch at gmail.com> wrote:
>> Implementing a simple language-handler much like Philip's example
>> 11.3.1 (World Cookery), I thought about how one would do this in a
>> grokkish way and where this could be documented and/or shared.
> 
> But that's just an adapter, right? There should be a good one by
> default, of course.

Yes, it's just an adapter. And there *is* a default one: the one that 
Zope 3 provides that reads the HTTP Accept-Language header from the request.

> Making a special grokker for this seems overkill, though...

It's just an adapter so it already has a grokker that's designed for 
this case.


-- 
http://worldcookery.com -- Professional Zope documentation and training


More information about the Grok-dev mailing list