portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio J. Ortega" <na...@siapi.es>
Subject RE: How to send a language specific "subject" for new userconfirm ation e-mail
Date Sat, 17 Nov 2001 00:08:32 GMT
Forget this message .. just understanding how it's esed.. ;)

Anyway the part on translate this strings to properties it's
appropiatte.. what do yo think..?. 

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Enviado el: viernes 16 de noviembre de 2001 23:14
> Para: 'Jetspeed Developers List'
> Cc: 'Jon Stevens'
> Asunto: RE: How to send a language specific "subject" for new
> userconfirmation e-mail
> 
> 
> > I don't really understand why JetspeedLocalization exists 
> > given that Turbine
> > has a Localization service for this...
> >
> 
> Agreed, 
> 
> JetspeedLocalization it's a candidate for delete, as it's 
> almost unused
> , 118n code is spread all over there right now and in 
> addition there are
> a bunch of strings hardcoded ( in templates and java code ).. i trying
> to have a picture on whats needed,and how to do it.. JR.p has some..
> There is the localization module you name.. and some other..
> 
> I'm trying to learn how Scarab works on this regards.., You will see
> some work in this area soon.. any pointers, or advices are welcomed..
> 
> Anyway look at that:
> 8<--------------------------------------------------------------------
>  [e:\tomcat\jakarta-jetspeed]grep -d JetspeedLocalization *.*
> 
> File
> src\java\org\apache\jetspeed\modules\localization\JetspeedLoca
> lization.j
> ava:
> public class JetspeedLocalization extends ListResourceBundle
> 
> File
> src\java\org\apache\jetspeed\modules\localization\JetspeedLoca
> lization_d
> e.java:
> public class JetspeedLocalization_de extends ListResourceBundle
> 
> File
> src\java\org\apache\jetspeed\modules\localization\JetspeedLoca
> lization_e
> n.j
> ava:
> public class JetspeedLocalization_en extends ListResourceBundle
> 
> File
> src\java\org\apache\jetspeed\modules\localization\JetspeedLoca
> lization_f
> r.j
> ava:
> public class JetspeedLocalization_fr extends ListResourceBundle
> 
> File webapp\WEB-INF\conf\TurbineResources.properties:
> locale.default.bundle=org.apache.jetspeed.modules.localization
> .JetspeedL
> ocalization
> 
> File webapp\WEB-INF\conf\TurbineResources.velocity:
> locale.default.bundle=org.apache.jetspeed.modules.localization
> .JetspeedL
> ocalization
> 
> 8<--------------------------------------------------------------------
>  
> 
> Maybe it's a good moment to simply delete it,and simply start using
> turbine l10n service now..
> 
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----
> > De: Jon Stevens [mailto:jon@latchkey.com]
> > Enviado el: viernes 16 de noviembre de 2001 19:33
> > Para: jetspeed-dev
> > Asunto: Re: How to send a language specific "subject" for new
> > userconfirmation e-mail
> > 
> > 
> > on 11/16/01 7:38 AM, "Chris Kimpton" <kimptoc_mail@yahoo.com> wrote:
> > 
> > >> 3) Use Localization.getString().
> > >>     Where are the language specific values stored?
> > >> 
> > > 
> > > -1
> > > 
> > > In JetspeedLocalization*.java
> > 
>  
> > -jon
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:jetspeed-dev-help@jakarta.apache.org>
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   
<mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message