> > Ignacio > > In the case of SendConfirmationEmail.java, their are a few > places that > Localization.getString() are used. I would like to replace > that code, > but I have not used the "turbine l10n service". Can you provide some > examples or point me to some documentation? >
:-) ( the so named l10n service it's only used one time in scarab, for only one string , it seems that there is only intention not need until now :))))) Well seems it's easy, nothing very different that what we have right now.. add to TR.p.. tool.request.l10n=org.apache.turbine.services.localization.LocalizationT ool and later in templates.. $i10n.SENDCONFIRMATIONEMAIL_SENT more or less They only have added a tool that does the job using the already used in jetspeed localization service.. nothing really very difficult.. our private directory based searching of templates it's useful.. but cumbersome.. sorry if i'm saying something sensible here.. not really know who was adding that on first place.. That is the way in wich is done in SendConfirmationEmail.java is turbineish use of localization service , that is not is de directory searching.. i think this needs be contributed back to Turbine it's no there already.. > If I provide a list of english template files, can you > translate them to > spanish for inclusion in the distribution? > > Paul Spencer > > Ignacio J. Ortega wrote: > > > 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:[EMAIL PROTECTED]] > >>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:[EMAIL PROTECTED]] > >>>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" > <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>>>>3) Use Localization.getString(). > >>>>> Where are the language specific values stored? > >>>>> > >>>>> > >>>>-1 > >>>> > >>>>In JetspeedLocalization*.java > >>>> > >> > >> > >>>-jon > >>> > >>> > >>>-- > >>>To unsubscribe, e-mail: > >>><mailto:[EMAIL PROTECTED]> > >>>For additional commands, e-mail: > >>><mailto:[EMAIL PROTECTED]> > >>> > >>> > >>-- > >>To unsubscribe, e-mail: > >> > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> Saludos , Ignacio J. Ortega -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
