You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Werner Ramaekers <we...@shiftat.com> on 2002/09/29 20:23:52 UTC

Internationalization in JSP templates


All,

In the archives of the Jetspeed-user mailing list i found the following message 
from Paul Spencer (Subject: Re: JSP Templates in 1.3a2 Release,Date: Sat, 15 Dec 2001 06:53:05) 

Marcus,
Their was a change to the navigation templates on 11/23.  That change 
added internationalization to the navigation template locator. Now the 
navigation template are configured the same as layouts, controllers, and 
controls templates.  The changes where to java source files, properties 
files, and jsp files.
....

Paul Spencer

this means that in the templates/jsp/layouts/html
and templates/jsp/navigations/html
i can add a folder with the language code like en, fr, de, nl, and so on
with the jsp templates for that language.

On the other hand the velocity based templates use the internationalization
tags so that there is for exemple only one Login.vm template

Now, internationalization for JSP pages has been available a long time using Struts,
yes , that other MVC2 framework at Jakarta ;-)
and more recently internationalization is made available using the JavaServer Pages Standard Tag Library (JSTL)

Has any of the developers made an attempt at integrating Struts or the JSTL for the JSP based templates ?
I've been using Struts in a number of projects so i don't think it would bde difficult to add and am willing to give it 
a try ... since i need it for a jetspeed based project of mine ;-)


any feedback on doing or not doing it is greatly appreciated

werner


-- 
----------------------------------------------------------------------
ir. Werner Ramaekers
Enterprise Java Solutions Architect - Shift@
Sun Certified Java Programmer

"May the source be with you."
<ma...@shiftat.com> <http://www.shiftat.com>
----------------------------------------------------------------------



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>