O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12.4. Dynamically changing the language

If you want users to be able to dynamically change the language during the session, you can use the following command provided by WebSphere Portal:

Example 12-10. Changing the language during the session
<wps:url command="ChangeLanguage">
   <wps:urlParam name="locale" value="language"/>
</wps:url>

where language is the code representation of the language that you want to be available in your portal. The 12.10, “Dynamically changing the language” on page 411 shows how to add links to the portal theme to change to different languages in one click.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required