nuxeo-localizer
[Top][All Lists]
Advanced

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

Re: [Nuxeo-localizer] Changing the language of a website


From: Juan David Ibáñez Palomar
Subject: Re: [Nuxeo-localizer] Changing the language of a website
Date: Mon, 13 May 2002 16:26:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020412 Debian/0.9.9-6

Which version of Localizer are you using? If it's from the CVS
you'll need an instance of the Localizer meta_type in the root
of your web site.


Gitte Wange wrote:


Hello,

I have localized an entire skin for a product using zpt and cmflocalizer
and things work great :-)

Only one thing left to do - I need the abilty to change the language
through a form.

I looked at the changeLanguageForm.dtml and implemented it into my
skins.
Then created a FS Python Script and added the code that sets the
language cookie. The script looks like this:

lang = REQUEST['lang']
path = '/'
REQUEST.RESPONSE.setCookie('LOCALIZER_LANGUAGE', lang, path=path)
REQUEST.RESPONSE.redirect(REQUEST['HTTP_REFERER'])

But the language never changes (it's stille the same as my browser
settings).

What is going on since the language doesn't change ?

TIA,
Gitte Wange

_______________________________________________
Nuxeo-localizer mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer


--
J. David Ibáñez, Nuxeo.com
Debian user (http://www.debian.org)





reply via email to

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