[Zope] Set Default Language
Robert Rottermann
robert at redcor.ch
Wed Dec 1 23:31:35 EST 2004
I can not give you a straigth answer, however there is a tool called
PloneLanguageTool (or such) on collective (sf.net/projects/collective)
that does deal with what you are looking for. So you mighth have a look
int that.
Robert
Alison Taylder wrote:
> Dear members,
>
> I am struggling to convert to ZPT and
> PlacelessTranslationService. In particular I cannot
> seem to be able to change the default language setting
> on my browser which I did quite simply with Localizer
> and MessageCatalog. I have used a python script to
> create and set the access rule in the root of my site
> as described in a previous post but to no avail.
>
> I am using zope 2.7.
>
> When I check my request variables I see that under
> 'other' the HTTP_ACCEPT_LANGUAGE is correctly set to
> 'fr', but I have an environ variable set to
> HTTP_ACCEPT_LANGUAGE 'en-gb, ja;q=0.20, fr;q=0.60,
> es;q=0.40, en;q=0.80'. Could this be the problem ? I
> am also seeing references to Localizer in my 'other'
> variables eg AcceptLanguage
> <Products.Localizer.Accept.AcceptLanguage instance at
> 0x43b09ccc>.
> Are PTS and Localizer incompatible ?
>
> Thanks for any help,
>
> Alison
>
>
>
> ___________________________________________________________
> Win a castle for NYE with your mates and Yahoo! Messenger
> http://uk.messenger.yahoo.com
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
More information about the Zope
mailing list