Dear Archana, dear all,
FYI, the solution I proposed does not work as if I specify
<registry>
<portlet-entry ...>
<meta-info>
<title>$l10n.MY_PORTLET</title>
</meta-info>
</portlet-entry ...>
...
the title is not retrieved from the localization files but it is simply
rendered 'as it is'.
No fast solution then...
Cheers,
Stefano
----- Original Message -----
From: "Archana Turaga" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, March 29, 2007 6:05 PM
Subject: RE: J1.6 localisation native support for portlet and pane names
For panes what we did is we wanted the user to input the key that is
specified in the resource file and then modified the vm/jsp file to take
that input and do a I10 on that string.
As far as the portlet title goes what you suggested may work and infact
I think I tried that and it had worked (Long time back :-))..
-----Original Message-----
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 10:26 AM
To: Jetspeed Users List
Subject: Re: J1.6 localisation native support for portlet and pane names
Thanks Archana,
just to understand...
I think I have to look at
$portlet_instance.Title
in
WEB-INF\templates\vm\controls\html\jetspeed.vm
To get title localized, I should specify my portlet name in the xreg
file,
something like
<registry>
<portlet-entry ...>
<meta-info>
<title>$l10n.MY_PORTLET</title>
</meta-info>
</portlet-entry ...>
...
so that, once embedded in the .vm file, it is properly shown, but... is
that
allowed?
And what about panes?
Should I then modify each pane writing directly in the related psml file
once it has been created?
Or can I just set
$l10n.MY_PANE
as value when creating it through the administration interface?
Thanks,
Stefano
----- Original Message -----
From: "Archana Turaga" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, March 29, 2007 3:55 PM
Subject: RE: J1.6 localisation native support for portlet and pane names
In the past when we had to do it ...we just directly modified the layout
and navigation menus vm/jsp files to query localized strings. That way
the panes and titles are localized
-----Original Message-----
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 29, 2007 8:52 AM
To: JETSPEED Users List
Subject: J1.6 localisation native support for portlet and pane names
Dear all,
I am using J1.6 and I need a hint about localisation of portlet (and
pane)
titles and left menus... is that natively supported somehow by Jetspeed?
I had a look at the tutorial but it is quite limited. Any good best
practice
to follow?
Thanks
Stefano
Ing. Stefano Bianchi
Softeco Sismat S.p.A. - www.softeco.it
Via De Marini 1, WTC Tower
16149 GENOA (ITALY)
Tel. +39 010 6026 368
Fax +39 010 6026 350
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the
person(s)
to whom it is addressed. Any use, copying, retention or disclosure by
any
person other than the intended recipient or the intended recipient's
designees is strictly prohibited. If you are the intended recipient, you
must treat the information in confidence and in accordance with all laws
related to the privacy and confidentiality of such information. If you
are
not the intended recipient or their designee, please notify the sender
immediately by return e-mail and delete all copies of this email,
including
all attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s)
to whom it is addressed. Any use, copying, retention or disclosure by any
person other than the intended recipient or the intended recipient's
designees is strictly prohibited. If you are the intended recipient, you
must treat the information in confidence and in accordance with all laws
related to the privacy and confidentiality of such information. If you are
not the intended recipient or their designee, please notify the sender
immediately by return e-mail and delete all copies of this email, including
all attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]