[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    Re: Portlet "Change the language"
From:       "Massimiliano Dessi" <massimiliano.dessi () gruppoatlantis ! com>
Date:       2003-01-29 7:43:47
[Download RAW message or body]

Jetspeed use l10n to change the language,
in the portlet .vm (Velocity),
you found  $l10n.variableName in the velocity portlet.
Jetspeed substitute variableName with the variableName in the
JetspeedLocalizatio_language(it, en ,es,jp, fr de, ..).properties
if the variableName don't exist and if the portlet don't use this system,
the content of the portlet
can't change the language because the content it's in the only language.

Scuse me for my bad english

Massimiliano Dessì

----- Original Message -----
From: "Matthieu DELAHAIS" <dela_mat@yahoo.fr>
To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org>
Sent: Tuesday, January 28, 2003 4:51 PM
Subject: Re: Portlet "Change the language"


> It works! Thank you very much!
> But, your portlet just changes the titles. I didn't
> success to redirect the PSML. Is there something else
> to parameter? For the moment, my URL is always the
> english one...
> Thanks in advance!
> Matthieu
>
>  --- Massimiliano Dessi
> <massimiliano.dessi@gruppoatlantis.com> a écrit : > It
> is necessary  comment  in tr.properties
> >
> >
>
#services.LocalizationService.classname=org.apache.turbine.services.localiza
> > tion.TurbineLocalizationService
> > and put
> >
>
services.LocalizationService.classname=org.apache.jetspeed.services.customlo
> > calization.JetspeedLocalizationService
> >
> > and
> >
>
#tool.request.l10n=org.apache.turbine.services.localization.LocalizationTool
> > with
> >
>
tool.request.l10n=org.apache.jetspeed.services.customlocalization.CustomLoca
> > lizationTool
> >
> > This portlet change the language with refresh
> > (reload) of the page .
> >
> > I implement a new velocity portlet to change the
> > language witout refresh
> > ,I submit the code to David Taylor to test with a
> > cvs code.
> > If you need the code  i submit the code in this
> > mailing list .
> >
> > Massimiliano
> >
> > ----- Original Message -----
> > From: "Matthieu DELAHAIS" <dela_mat@yahoo.fr>
> > To: <jetspeed-user@jakarta.apache.org>
> > Sent: Monday, January 27, 2003 4:11 PM
> > Subject: Portlet "Change the language"
> >
> >
> > > Hi all,
> > >
> > > First, I thank very much the person who help me to
> > > understand where the language is determined.
> > > Second, I'm tying to change the language with the
> > > portlet "Change the Language". But, when I click
> > on
> > > another language (ES, DE, EN...), nothing appends.
> > Is
> > > there something to configure before using these
> > > portlet.
> > > Thank you very much in advance.
> > >
> > > Matthieu
> > >
> > >
> >
> ___________________________________________________________
> > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite
> > et en français !
> > > Yahoo! Mail : http://fr.mail.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> >
> <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:jetspeed-user-help@jakarta.apache.org>
> > >
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jetspeed-user-help@jakarta.apache.org>
> >
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:jetspeed-user-help@jakarta.apache.org>
>
>
>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic