12.9. Sample scenario: translating whole resources

Another way to accomplish internationalization is by translating and maintaining separate JSPs within a predictable directory structure. The Portal will take responsibility for locating the correct file at runtime, depending on the preferred language selected by the user.

Figure 12-29. Sample scenario
1.
Open the WebContent/messagereceiver/jsp/html/MessageReceiverPortletView.jsp page to delete fmt tags and return to static information. Your code should look as shown in Example 12-21.
Example 12-21. MessageReceiverPortletView.jsp
<%@ page session="false" contentType="text/html" ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.