> def i18n_loadhook():
>    web.ctx.lang = web.input(lang=None, _method="GET").lang
>
> app.app_processor(web.loadhook(i18n_loadhook))

Oops! It should be:

app.add_processor(web.loadhook(i18n_loadhook))

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to