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 Joachim Müller <jo...@wemove.com> on 2006/04/14 11:07:06 UTC

use resource bundle based localization in layout decoration

Hi.

I is possible to use resource bundle based localization
in the layout decoration code?

If not this would be a handy extension of the JetspeedPowerTool.

$jetspeed.message(ResourceBundle, key, locale)


joachim

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: use resource bundle based localization in layout decoration

Posted by Philip Mark Donaghy <ph...@gmail.com>.
On 4/14/06, Philip Mark Donaghy <ph...@gmail.com> wrote:
> There is a portlet api that does this that can be accessed in the
> template. Looking it up...

You can use this in your velocity template,

#set ($messages = $portletConfig.getResourceBundle($renderRequest.Locale))

>
> On 4/14/06, Joachim Müller <jo...@wemove.com> wrote:
> > Hi.
> >
> > I is possible to use resource bundle based localization
> > in the layout decoration code?
> >
> > If not this would be a handy extension of the JetspeedPowerTool.
> >
> > $jetspeed.message(ResourceBundle, key, locale)
> >
> >
> > joachim
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >
> >
>
>
> --
> Philip Donaghy
> donaghy.blogspot.com del.icio.us/donaghy/philip
> Skype: philipmarkdonaghy
> Office: +33 5 56 60 88 02
> Mobile: +33 6 20 83 22 62
>


--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: use resource bundle based localization in layout decoration

Posted by Philip Mark Donaghy <ph...@gmail.com>.
There is a portlet api that does this that can be accessed in the
template. Looking it up...

On 4/14/06, Joachim Müller <jo...@wemove.com> wrote:
> Hi.
>
> I is possible to use resource bundle based localization
> in the layout decoration code?
>
> If not this would be a handy extension of the JetspeedPowerTool.
>
> $jetspeed.message(ResourceBundle, key, locale)
>
>
> joachim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>


--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org