Internationalization of the Portal
Internationalization can be achieved by providing translations of
the following text elements:
- labels
- content of combo boxes
- messages
Elements of the Stardust Portal views are identified via entries
in their according resource bundles. The resource bundle which is used
depends on the preferred language set for your browser.
Resource Bundles
Resource bundles for languages are supplied for the Stardust
Portal. They reside in the
according portal JAR files, either in the add-ons/ipp-portal/lib
folder of your Stardust installation, in case you set up your
working environment as described in chapter
Installing Stardust Features,
or in the lib folder of the org.eclipse.stardust.ide.wst.facet.portal_xxx
plugin:
- ipp-business-control-center.jar - for the Stardust Portal
Business Control Center Perspective.
- ipp-administration-perpective.jar - for the Stardust Portal
Administration Perspective.
- ipp-workflow-perspective.jar - for the Stardust Portal
Workflow Perspective.
- stardust-web-modeler.jar - for the Stardust Portal
Business Process Modeler.
- ipp-views-common.jar - for the Stardust Portal
common views messages.
- ipp-portal-common.jar - for the Stardust Portal
common portal messages.
- ipp-web-ui-common.jar - for the Stardust Portal
Web UI common portal messages.
Unzip the according portal JAR file, copy the existing resource
bundles and add the according language locale to the name (e.g. "_de").
E.g. for adapting messages displayed in the Business Control Center
perspective:
- Unzip the ipp-business-control-center.jar file.
- Copy the business-control-center-messages.properties
file and rename the copy to business-control-center-messages_locale.properties,
whereby locale is the locale for the language you like to
use. (Translated resource bundles are already provided for Chinese
and German.)
- Edit the business-control-center-messages_locale.properties
and translate the entries accordingly.
- Save the resource bundle and add it to the ipp-business-control-center.jar
file.
Determine the locale to use for your Stardust Portal by setting
the preferred language used for your browser.