cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: LangSelect, bug ?
Date Fri, 25 May 2001 12:54:25 GMT


On Fri, 25 May 2001, Piroumian, Konstantin wrote:

> Hi!
>
> I am going to change the LangSelect to make it more flexible and
> configurable. I'll also take a look at that strange behavior with empty
> params.
>
> I am going to make it able to store the selected language in a session or
> cookie (now only session is supported, but I couldn't get it working as I
> was expecting).

By means of configuration and/or parameters I hope.

> I am using the LangSelect inside of my new I18nTransformer
> and I also interested in a good language selection mechanism.

IIRC the language from the agent (browser) isn't respected, right? Would
be a great improvement to have it so users can set their preferred
language in their browsers and langSelect can choose it from there as
well.

> If there are any comments and ideas, I will take them into account.

YUp ;)

> After this weekend I think I will post a modified version of the
> I18nTransformer and a new LangSelect action.

Cool.

Giacomo

>
> Regards,
>     Konstantin Piroumian.
>
> ----- Original Message -----
> From: "Pablo Bendersky" <pbendersky@itineri.com>
> To: <cocoon-dev@xml.apache.org>
> Sent: Thursday, May 24, 2001 11:29 PM
> Subject: LangSelect, bug ?
>
>
> > Hello, I'm trying to make some languaje aware images with this code:
> > <map:match pattern="img/lang/**.gif">
> >     <map:act type="lang-select">
> >      <map:read src="resources/img/{lang}/{../1}.gif"
> mime-type="image/gif"/>
> >     </map:act>
> > </map:match>
> >
> > and then, on my xsl files use the images /img/lang/image.gif
> >
> > I think there's a bug in the LangSelect, because I can't make it work.
> > If I change my xsl files to use the image
> > /img/lang/image.gif?
> > instead of
> > /img/lang/image.gif
> >
> > it works, so I guess it's a little bug on LangSelect.
> >
> > I was taking a look, but wasn't able to fix it.
> >
> > Thanks a lot !
> >
> > Pablo Bendersky
> > pbendersky@itineri.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message