Resource Bundle Overview

MDM supports multiple locale resource bundles. There are five resource bundles to localize or externalize the text within different components.

  • htmlresources.properties: Resource bundle that contains static strings from all HTML pages in the UTF-8 format.
  • jsresources.properties: Resource bundle that contains strings from JavaScript files and the JavaScript section of the HTML files.
  • SharedDBStringResources.properties: Resource bundle that contains user interface strings from selected tables of the database.
  • SharedStringResources.properties: Resource bundle that contains:
    • Display text of all menu items
    • All retailer or supplier terminologies
    • Descriptions and variable names defined in business process rules, rulebase and workflows
    • Any generic text displayed on UI
    • User-specified text which needs translation and is displayed on UI
  • UserText.properties: Resource bundle that contains dynamically created informational, error, or warning messages displayed on the user interface.

All the default resource bundles are bundled within the ECM.ear in ECMClasses.jar file. The resource values can be customized by overriding the default resource value. You must create a new custom*.properties file and copy it under $MQ_HOME/custom/resource folder for WebLogic and WebSpehere and for JBoss copy it under JBOSS_HOME\\modules\com\tibco\mdm\main\com\tibco\mdm\properties\mdm.

Since user on the cloud do not have access to the MDM Server, it is difficult to deploy the customizations. Hence a new editor to customized resource files is supported in TIBCO MDM Studio. After customization, the resource bundle is deployed on the server.

Limitations

The following are the limitations of resource bundle:

  • Java Script is not supported for hot deployment.
  • It is recommended to restart the server after deployment the resource bundle for the first time.
  • All common resources (like login page, reset password) for all enterprises must be deployed at application level .