Sample: Localized Display Portlet (Welcome Portlet)
Step 6: Create Translated Titles and DescriptionsDisplay resource files called When the portlet is first deployed, the deployment process checks to see which default locale was specified when the portal Web application was installed. Based on this locale, it uses the title and description from the appropriate display resource file to create metadata and register the portlet in the SAS Metadata Repository. Note: The SAS Metadata Repository cannot store multiple, localized values for metadata. Therefore, the title and description are translated only into the portal Web application's default locale. They cannot be translated based on the user's locale preference. A number of display resource files are provided for the Welcome portlet. The contents of two of the files ( portlet.title=Begrüßungs-Portlet Muster portlet.description=Begrüßungs-Portlet Muster portlet.title=Welcome Portlet Sample portlet.description=Welcome Portlet Sample |