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: Gitte Wange
Subject: Re: [Nuxeo-localizer] Changing the language of a website
Date: 13 May 2002 17:24:01 +0200

man, 2002-05-13 kl. 16:26 skrev Juan David Ibáñez Palomar:
> 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.

Hmmm .. well it's an cvs version ... an old one :-(
I tried updating the code from cvs but got a lot of errors afterwards
:-(

Should I use a release version instead ?

TIA,
Gitte Wange

> 
> 
> 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)
> 
> 
> 
> _______________________________________________
> Nuxeo-localizer mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/nuxeo-localizer




reply via email to

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