[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nuxeo-localizer] Cookie problem
From: |
Volodymyr Rudnytskyy |
Subject: |
Re: [Nuxeo-localizer] Cookie problem |
Date: |
Thu, 6 Jun 2002 07:18:20 -0700 (PDT) |
I created Localizer instance in a root of my site,
tried to use <div tal:replace="structure
here/Localizer/changeLanguageForm" />, but it does not
change the language at all.
--- Juan_David_Ibáñez_Palomar <address@hidden>
wrote:
>
> Yes, that's the default behaviour, here are some of
> the things you
> can do:
>
> * If you don't use CMFLocalizer:
>
> 1. install the Localizer from the CVS
>
> 2. add a Localizer meta type instance to the
> root of your web site
>
> 3. use <dtml-var
> "Localizer.changeLanguageForm()">
>
> * Create your own changeLanguageForm and
> changeLanguage methods which
> sets the cookie in the right path
>
> * Create an instance of the Localizer meta type in
> the root of your
> web site (don't select the option "Locale
> folders"). Then use
> <dtml-var "Localizer.changeLanguageForm()">
>
>
> Choose the one you prefer.
>
>
> Volodymyr Rudnytskyy wrote:
>
> >0.8.1
> >
> >--- Juan_David_Ibáñez_Palomar <address@hidden>
> >wrote:
> >
> >
> >>Which Localizer version are you using??
> >>
> >>
> >>Volodymyr Rudnytskyy wrote:
> >>
> >>
> >>
> >>>I have two LocalContent objects, one is in a root
> >>>
> >>>
> >>folder, another in
> >>
> >>
> >>>ordinary subfolder.
> >>>When I change language for one LocalContent
> >>>
> >>>
> >>object, and then go to the
> >>
> >>
> >>>second LocalContent object, its language remains
> >>>
> >>>
> >>as was set
> >>
> >>
> >>>previously for that object (LOCALIZER_LANGUAGE
> >>>
> >>>
> >>cookie remains previous)
> >>
> >>
> >>>But I need LOCALIZER_LANGUAGE cookie to change
> >>>
> >>>
> >>for all LocalContent
> >>
> >>
> >>>objects in a root folder.
> >>>How can I solve this problem?
> >>>
> >>>I do not have Localizer object in a root folder.
> >>>
> >>>Thanks in advance,
> >>>Volodymyr
> >>>
> >>>
> >>>
> >>>
>
>
> --
> J. David Ibáñez, Nuxeo.com
> Zope developer (http://www.zope.org)
>
>
>
>
> _______________________________________________
> Nuxeo-localizer mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com