Velocity templates localize strings properly. JSP templates don't seem to
work in the right way.

When Velocity is the default, platform templates (Velocity templates for
navigation, layouts, etc.) return localized strings based on user browser
settings; JSP templates always provide localized strings based on Turbine
default locale settings.

 locale.default.language=en
 locale.default.country=US

So, when JSP is the default, platform templates (JSP templates this time)
return localized strings based on Turbine default locale settings.
Panes titles (I guess based on Velocity and PSML settings) are always based
on user browser settings.

I have tested it with IE 5.5 SP2 and Netscape 6.01.
Could it be a problem of the l10n taglib init code?

    Fabio

----- Original Message -----
From: "Mark Orciuch" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 6:02 AM
Subject: RE: JSP localization (l10n) taglib


> Hmmm, not sure about this one. Could these settings in tr.props help:
>
> locale.default.language=en
> locale.default.country=US
>
> If Velocity is the default, does it properly localize the strings?
>
>
> > -----Original Message-----
> > From: Fabio Latrofa [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 29, 2003 10:37 AM
> > To: 'Jetspeed Users List'
> > Subject: JSP localization (l10n) taglib
> >
> >
> > I'm trying to 'localize' Jetspeed using JSP templates and jetspeed:l10n
> > taglib; I noticed that setting the
> > services.TemplateService.default.extension property to jsp
> >
> >     services.TemplateService.default.extension=jsp
> >
> > Jetspeed get only the default locale strings.
> >
> > Is there something else that I have to configure?
> >
> > Regards,
> >
> > Fabio Latrofa
> > SIVA S.p.A
> > Mail: [EMAIL PROTECTED]
> > Tel. +39 0654220452
> > Fax +39 0654220484


Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to