Hi Leandro!
I'm interested, could you send it to me?
Thanks in advance!
-----Mensaje original-----
De: Leandro Rodrigo Saad Cruz [mailto:[EMAIL PROTECTED]]
Enviado el: Martes, 19 de Marzo de 2002 08:53 a.m.
Para: Turbine Users List
Asunto: 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]>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>