4.5 Localizing Field Labels in UI Forms

You can localize UI form field labels by using the resource bundle corresponding to the language you want to use. The resource bundles are available in the connector installation media.

  1. Log in to Oracle Enterprise Manager.
  2. In the left pane, expand Application Deployments and then select oracle.iam.console.identity.sysadmin.ear.
  3. In the right pane, from the Application Deployment list, select MDS Configuration.
  4. On the MDS Configuration page, click Export and save the archive (oracle.iam.console.identity.sysadmin.ear_V2.0_metadata.zip) to the local computer.
  5. Extract the contents of the archive, and open one of the following file in a text editor if you are using Oracle Identity Governance 12c (12.2.1.3.0) or later version:

    SAVED_LOCATION\xliffBundles\oracle\iam\ui\runtime\BizEditorBundle_en.xlf

    Note:

    You will not be able to view the BizEditorBundle.xlf file unless you complete creating the application for your target system or perform any customization such as creating a UD
  6. Edit the BizEditorBundle.xlf file in the following manner:
    1. Search for the following text:
      <file source-language="en" original="/xliffBundles/oracle/iam/ui/runtime/BizEditorBundle.xlf" datatype="x-oracle-adf">
    2. Replace with the following text:
      <file source-language="en" target-language="LANG_CODE" original="/xliffBundles/oracle/iam/ui/runtime/BizEditorBundle.xlf" datatype="x-oracle-adf">

      In this text, replace LANG_CODE with the code of the language that you want to localize the form field labels. The following is a sample value for localizing the form field labels in Japanese:

    3. Search for the application instance code. This procedure shows a sample edit for Oracle Cerner application instance. The original code is:
      <trans-unit id="${adfBundle['oracle.adf.businesseditor.model.util.BaseRuntimeResourceBundle']['persdef.sessiondef.oracle.iam.ui.runtime.form.model.user.entity.userEO.UD_CERNER_USR_USER_NAME__c_description']}"> <source>User Name</source><target/> </trans-unit> <trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model.CernerApp1.entity.CernerApp1EO.UD_CERNER_USR_USER_NAME __c_LABEL"> <source>User Name</source><target/><target/> </trans-unit>
    4. Open the resource file from the connector package, for example Cerner_ja.properties, and get the value of the attribute from the file, for example,
      global.udf.UD_CERNER_USR_USER_NAME = \u30E6\u30FC\u30B6\u30FC\u540D
    5. Replace the original code shown in Step 6.c with the following:
      </trans-unit><trans-unit id="${adfBundle['oracle.adf.businesseditor.model.util.BaseRuntimeResourceBundle']['persdef.sessiondef.oracle.iam.ui.runtime.form.model.user.entity.userEO.UD_CERNER_USR_USER_NAME__c_description']}"> <source>User Name</source> <target/> </trans-unit> <trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model. CernerApp1.entity.CernerApp1EO.UD_CERNER_USR_USER_NAME __c_LABEL"> <source>User Id</source> <target> \u30E6\u30FC\u30B6\u30FC\u540D</target> <target/> </trans-unit>
    6. Repeat Steps 6.a through 6.d for all attributes of the process form.
    7. Save the file as BizEditorBundle_LANG_CODE.xlf. In this file name, replace LANG_CODE with the code of the language to which you are localizing. Sample file name: BizEditorBundle_ja.xlf.
  7. Repackage the ZIP file and import it into MDS.
  8. Log out of and log in to Oracle Identity Governance.

See Also:

Deploying and Undeploying Customizations in Oracle Fusion Middleware Developing and Customizing Applications for Oracle Identity Governance for more information about exporting and importing metadata files.