[Zope] Re: Internationalization

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sun, 05 Jan 2003 12:12:49 +0100


beno wrote:
> Hi;
> I would like to get the language code from the client's header. I 
> presume this is done with a REQUEST to get_header, but I've been 
> searching without luck for the syntax. Got it?

You can get it with something like:

REQUEST.get('HTTP_ACCEPT_LANGUAGE')

/mj