Implementation Guide for Oracle Billing Insight > About Customizing Oracle Billing Insight > Localizing the User Interface >

Adding Your Own Custom Language Resource Bundle Files


In addition to the preconfigured language resource files provided with a language bundle in Oracle Billing Insight, you can implement additional customized resource bundle files you create, such as customProperty.properties.

To add your own defined resource bundle file

  1. Place the new resource bundle file in the following location:
    • UNIX. EDX_HOME/config/resourcebundle/com/edocs/application/resources
    • Windows. EDX_HOME\config\resourcebundle\com\edocs\application\resources
  2. Follow these steps for proper currency representation, which enables the currency symbols and currency text to display properly in report, payment, and mail notification content:
    1. Populate the database. For each currency type, add the currency symbol to the CURRENCY_TYPE_SYMBOL column in the olap.EDX_RPT_CURRENCY_TYPE_DIM table.
    2. Update the currency properties file. For each application and each language, add mappings between the currency code and text to the CurrencyText.properties file for any currencies you want to use. For example, the following values (for the American dollar, Chinese yuan, and Euro) are included in the file by default:

    USD.CurrencyText=Dollars
    CNY.CurrencyText=CNY
    EUR.CurrencyText=Euro

  3. Update the struts.xml file, located in the following directories, for both the Self-Service and Assisted Service applications:
    • UNIX. For the Self-Service application:

    EDX_HOME/J2EEApps/selfservice/weblogic/selfservice-weblogic-7.1.ear/selfservice-web-1.0-SNAPSHOT.war/WEB-INF/classes

    For the Assisted Service application:

    EDX_HOME/ J2EEApps/csr/weblogic/csr-app-7.1.ear/csr-web-1.0-SNAPSHOT.war/WEB-INF/classes

    Windows. For the Self-Service application:

    EDX_HOME\J2EEApps\selfservice\weblogic\selfservice-weblogic-7.1.ear\selfservice-web-1.0-SNAPSHOT.war\WEB-INF\classes\

    For the Assisted Service application:

    EDX_HOME\J2EEApps\csr\weblogic\csr-app-7.1.ear\csr-web-1.0-SNAPSHOT.war\WEB-INF\classes\

    Change the value of struts.custom.i18n.resources to add the new resource file. The current value is:

    <constant name="struts.custom.i18n.resources" value="com/edocs/application/resources/ApplicationLabels,com/edocs/application/resources/ApplicationMessages,com/edocs/application/resources/CommonFieldValidator,com/edocs/application/resources/CurrencyText,com/edocs/application/resources/Period"/>

  4. Edit the global.xml file, located in the following directory:
    • UNIX. EDX_HOME\config\rpt\common
    • Windows. EDX_HOME$config/rpt/common

      Add a line with the following content:

    <resourceBundle name="com/edocs/application/resources/enableMessageResources" />

    Place it in the following section in the global.xml file:

    <localizer enableMessageResources="true" defaultCode="0">
    <resourceBundle name="com/edocs/application/resources/ApplicationLabels" />
    <resourceBundle name="com/edocs/application/resources/ApplicationMessages" />
    <resourceBundle name="com/edocs/application/resources/CommonFieldValidator" />
    <resourceBundle name="com/edocs/application/resources/CurrencyText" />
    <resourceBundle name="com/edocs/application/resources/Period" />
    </localizer>

Implementation Guide for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.