[Zope] Re: Internationalization
beno
zope@thewebsons.com
Mon, 06 Jan 2003 15:26:02 -0400
Yes, I apologize. I finally figured it out for myself <;-)
beno
At 01:26 PM 1/6/2003 -0500, you wrote:
>[ beno]
>
> > Okay, so I've got this:
> >
> > <dtml-call expr="REQUEST.get('HTTP_ACCEPT_LANGUAGE')">
> >
> > How do I return the value of the expression to my script?
>
>You do not have to call it, REQUEST['HTTP_ACCEPT_LANGUAGE'] IS the
>value. You can pass it like you would any other parameter, or have your
>script ask for it directly. It will be a string like this:
>
>en-us,en;q=0.5
>
> > If my language is
> > *en*, how do I return this to use it in redirecting the
> > client?
>
>Just look up how to do redirects.
>
>Cheers,
>
>Tom P
>
>_______________________________________________
>Zope maillist - Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )