Re: [Zope] Setting the accept-language header from zpt fails
8 Sep
2004
8 Sep
'04
10:40 a.m.
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
7879
Age (days ago)
7879
Last active (days ago)
0 comments
1 participants
participants (1)
-
Josef Meile