nuxeo-localizer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nuxeo-localizer] Cookie problem


From: Juan David Ibáñez Palomar
Subject: Re: [Nuxeo-localizer] Cookie problem
Date: Thu, 06 Jun 2002 16:25:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020520 Debian/1.0rc2-3

Ops! I'm sorry, I misread the code, there's a while that
I don't use 0.8.1..

Use a MessageCatalog instead of a Localizer object..





Volodymyr Rudnytskyy wrote:

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.


--
J. David Ibáñez, Nuxeo.com
Zope developer (http://www.zope.org)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]