[Zope] Setting the accept-language header from zpt fails
Josef Meile
jmeile at hotmail.com
Wed Sep 8 06:40:40 EDT 2004
Hi Vahur,
you forgot to post your solution to the list. I think it is worth to be
posted, so here it's:
> Hello!
> For me it's working with
> <html i18n:domain="myDomain"
> tal:define="x python:request.set('HTTP_ACCEPT_LANGUAGE',
> context.giveLanguage())">
It worked for me too and it's easier than what I was trying to do:
Setting programatically the html header. Please note that you don't need
the "i18n:domain="myDomain" part, only setting the language is enough.
Thanks for your useful reply,
Josef
More information about the Zope
mailing list