You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Robson Borges <ro...@br-petrobras.com.br> on 2003/11/25 13:57:01 UTC
Default Language in Portal Jetspeed
Hi,
How can I configure a default language for anonymous users ?
In TurbineResources.properties I changed the following properties:
- locale.default.language=pt
- locale.default.country=BR
but it didn't work !
PS. When I use the 'Change language portlet' the portal works fine even in
anonymous user.
I'll apreciate any help !!!!
Thanks,
Robson Borges
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Default Language in Portal Jetspeed
Posted by Robson Borges <ro...@br-petrobras.com.br>.
I inserted the following line in the section that configure the context for
Jetspeed Application in the file server.xml:
<Parameter name="js_language" override="true" value="pt"/>
Now when a anonymous user enter to the site he gets all pages in Portuguese
!!!!!!!!!!
David, thanks a lot !!!!!
Robson Borges
----- Original Message -----
From: "David Sean Taylor" <da...@bluesunrise.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Tuesday, November 25, 2003 4:06 PM
Subject: Re: Default Language in Portal Jetspeed
>
> On Tuesday, November 25, 2003, at 09:02 AM, Robson Borges wrote:
>
> > But I created a "JetspeedLocalization_pt.properties" and translated
> > the main
> > properties. I'd like this properties file could be used by the default
> > language. Remember that this file is used normally when I set PT in my
> > "Change Language Portlet Example".
> > Is it possible to configure Jetspeed to use this properties file for
> > anonymous users ?
> >
> Check the settings on your browser.
> Is your browser setup for Portuguese as the default language?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Default Language in Portal Jetspeed
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Tuesday, November 25, 2003, at 09:02 AM, Robson Borges wrote:
> But I created a "JetspeedLocalization_pt.properties" and translated
> the main
> properties. I'd like this properties file could be used by the default
> language. Remember that this file is used normally when I set PT in my
> "Change Language Portlet Example".
> Is it possible to configure Jetspeed to use this properties file for
> anonymous users ?
>
Check the settings on your browser.
Is your browser setup for Portuguese as the default language?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Default Language in Portal Jetspeed
Posted by Robson Borges <ro...@br-petrobras.com.br>.
But I created a "JetspeedLocalization_pt.properties" and translated the main
properties. I'd like this properties file could be used by the default
language. Remember that this file is used normally when I set PT in my
"Change Language Portlet Example".
Is it possible to configure Jetspeed to use this properties file for
anonymous users ?
Thanks once again !!!!!
Robson Borges
----- Original Message -----
From: "David Sean Taylor" <da...@bluesunrise.com>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Tuesday, November 25, 2003 2:02 PM
Subject: Re: Default Language in Portal Jetspeed
>
> On Tuesday, November 25, 2003, at 04:57 AM, Robson Borges wrote:
>
> > Hi,
> >
> > How can I configure a default language for anonymous users ?
> > In TurbineResources.properties I changed the following properties:
> > - locale.default.language=pt
> > - locale.default.country=BR
> > but it didn't work !
>
> Looking at the modules directory in the CVS
> (src/java/org/apache/jetspeed/modules/localization), we don't have any
> resources for Portuguese
> Patches welcome
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Default Language in Portal Jetspeed
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Tuesday, November 25, 2003, at 04:57 AM, Robson Borges wrote:
> Hi,
>
> How can I configure a default language for anonymous users ?
> In TurbineResources.properties I changed the following properties:
> - locale.default.language=pt
> - locale.default.country=BR
> but it didn't work !
Looking at the modules directory in the CVS
(src/java/org/apache/jetspeed/modules/localization), we don't have any
resources for Portuguese
Patches welcome
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org