lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Kulemann <r...@apache.org>
Subject Re: Switch publication language
Date Mon, 14 Jun 2004 13:16:38 GMT
On Mon, 2004-06-14 at 10:54, Andreas Hartmann wrote:
> Giampaolo wrote:
> 
> > Hi guys,
> > 
> > i know that lenya switched from default publication language if there's another
> > one and the browser ui is compatible. For example, if i have mozilla with
> > italian ui and my publication has both italian and english, my publication will
> > be in italian. But what if i wanna let the user choise language with a link? 
> > 
> > I do no want to have http://mypub/italian/index.html and
> > http://mypub/english/index.html but just to change with a link the internal
> > variable that holds language. 
> 
> I think it should work with a link to the other language
> version (*.html -> *_it.html).
> 
> I'm not sure if all internal links are dynamically changed
> to *_it.html then, but if they are not, I'd consider this
> as a bug.

I did what u describe quite a time a ago in a publication. I mean
switching of languages via links and it worked fine.

-- 
Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Mime
View raw message