Internationalization can be achieved by providing translations of the following text elements:
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 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-administration-perpective.jar - Administration Perspectiveipp-business-control-center.jar - Business Control Center Perspectiveipp-graphics-common.jar - common graphic Portal messagesipp-portal-common.jar - common Portal messagesipp-workflow-perspective.jar - Workflow Perspectiveipp-views-common.jar - common views messagesstardust-benchmarks.jar - Benchmark related messagesstardust-html5-admin-portal.jar - HTML5 Administration Perspective messagesstardust-html5-business-control-center.jar - HTML5 Business Control Center Perspective messagesstardust-html5-common.jar - HTML5 common Portal messagesstardust-html5-process-portal.jar - HTML5 Portal messagesstardust-html5-views-common.jar - HTML5 common views messagesstardust-mobile-workflow.jar - Mobile workflowstardust-portal-rest-common.jar - common Portal Rest messagesstardust-reporting-rt.jar - Reporting runtime messagesstardust-rules-manager.jar - Rules Managerstardust-ui-form-jsf.jar - UI JSF form messagesstardust-web-camel.jar - Camel related messagesstardust-web-modeler.jar -
Modeling perspectivestardust-web-reporting.jar - Reporting viewLikewise you find the following specific resource bundles in the lib folder of the
com.infinity.bpm.ide.wst.facet.portal_xxx plugin:
ipp-business-calendar.jar - Business Calendaripp-business-object-management.jar - Business Object Managementipp-document-triage.jar - Document Triageipp-simple-modeler.jar - Model & Go perspectiveUnzip 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 Control Center perspective, do the following:
ipp-business-control-center.jar file.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.)business-control-center-messages_locale.properties
and translate the entries accordingly.ipp-business-control-center.jar
file.Determine the locale to use for your Stardust Portal by setting the preferred language used for your browser.
The Stardust artifactory provides a stardust-product-nls.jar file, which
contains all available specific languages bundles for the different components. You can
download this file from the following location:
https://infinity.sungard.com/repository/ipp-releases/org/eclipse/stardust/product/stardust-product-nls/
To retrieve Japanese translations, download file ipp-product-nls.jar
from the following location:
https://infinity.sungard.com/repository/ipp-releases/com/infinity/bpm/ipp-product-nls/
You can modify all containing property files and add these either as a new
JAR file to the WEB-INF/lib folder of your Web project if you like to overwrite an existing language.
To make sure the edited jar file takes precedence over other Portal jars, rename it to start with an
"a", e.g. a-stardust-product-nls.jar.
In case you like to display your Stardust Portal in a language using multibyte character sets, like Chinese or Japanese, you have to perform some additional steps.
For example in case you like the Portal to be displayed in Chinese language code, perform the following steps:
xxx.properties
file to Chinese and add them to a new properties file called xxx_cn_source.properties.native2ascii -encoding gb2312
xxx_cn_source.properties BusinessControlCenterMessages_cn.properties