I am interested in your implementation, so could you send it to me?

----- Original Message ----- 
From: "Leandro Rodrigo Saad Cruz" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 10:52 PM
Subject: Re: Localization


> You can use the Localization accessor with any locale you would like.
> Maybe you can change TLocalizationService.java or LocalizationTool.java
> to allow some order or user preference regarding localized objects.
> I created a class called LocaleHelper that has the business logic used
> to pick up a locale acording to values in user session and http headers.
> If you wnat I can send it to you.
> 
> On Tue, 2002-03-19 at 11:19, Matthew Koranda wrote:
> > How is it possible to make localization based on choices rather that http headers. 
>I've looked into the LocalizationTool and the TurbineLocalizationService but the all 
>seem to rely on either headers, or settings in the turbine.properties file.
> > I want users to be able to select the language they want on the page reguardless 
>of their browser settings. I would lie their language preference to be saved in 
>session. I can't see any methods that could just let me do something like:
> > 
> > Localization.setLocale("se");
> > 
> > Am I missing something?
> > 
> >   Matthew Koranda               
> >   Brand Theater AS         
> >   Maridalsvn. 87b, Bygn. 6     
> >   0461 Oslo                     
> >                                 
> >   [EMAIL PROTECTED]                 
> >   Phone  (+47) 23 12 19 09      
> >   Mobile (+47) 40 00 82 20      
> > 
> -- 
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB)
> http://www.ibnetwork.com.br
> 
> 
> --
> 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]>

Reply via email to