Sample: Localized Display Portlet (Welcome Portlet)
Step 5: Create the Resource BundlesThe resource bundles provide translated text to be displayed inside the Welcome portlet. The portlet's WelcomeAction.class calls the Note: For information about localizing the portlet's title and description, see Step 6: Create Translated Titles and Descriptions. A number of resource bundles are provided with the Welcome portlet. The contents of three of the files ( #This is where you put key/value pairs for message strings that need to #be localized. ##These are the messages for the Welcome portlet #This is for the Public Kiosk Welcome portlet welcome.msg1.txt=Welcome to Version 2 of the Information Delivery Portal. welcome.msg2.txt=Please look around! #This is where you put key/value pairs for message strings that need to #be localized. ##These are the messages for the Welcome portlet #This is for the Public Kiosk Welcome portlet welcome.msg1.txt=Willkommen bei Information Delivery Portal Version 2. welcome.msg2.txt=Schauen Sie sich um! #This is where you put key/value pairs for message strings that need to #be localized. ##These are the messages for the Welcome portlet #This is for the Public Kiosk Welcome portlet welcome.msg1.txt=Bienvenido a la versión 2 de Information Delivery Portal. welcome.msg2.txt=Puede continuar |