- Configuring the Google Cloud Platform Connector
- Performing the Post-configuration Tasks for the Google Cloud Platform Connector
- Localizing Field Labels in UI Forms
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.
- Log in to Oracle Enterprise Manager.
- In the left pane, expand Application Deployments and then select oracle.iam.console.identity.sysadmin.ear.
- In the right pane, from the Application Deployment list, select MDS Configuration.
- 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.
- Extract the contents of the archive, and open one of the following files in a text editor if you are using Oracle Identity Governance 12c PS3 (12.2.1.3.0) and later:
SAVED_LOCATION\xliffBundles\oracle\iam\ui\runtime\BizEditorBundle_en.xlf
- Edit the BizEditorBundle.xlf file in the following manner:
- Search for the following text:
<file source-language="en" original="/xliffBundles/oracle/iam/ui/runtime/BizEditorBundle.xlf"datatype="x-oracle-adf"> - 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:
<file source-language="en" target-language="ja" original="/xliffBundles/oracle/iam/ui/runtime/BizEditorBundle.xlf" datatype="x-oracle-adf">
- Search for the application instance code. This procedure shows a sample edit for Oracle Database 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_AD_USERNAME__c_description']}"><source>Username</source></target></trans-unit><trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model.gcp.entity.gcpEO.UD_GCP_USR_ACCOUNT_NAME__c"><source>Username</source></target></trans-unit> - Open the resource file from the connector package, for example GoogleCloudPlatform_ja.properties, and get the value of the attribute from the file, for example, global.udf.UD_GCP_USR_ACCOUNT_NAME=\u30A2\u30AB\u30A6\u30F3\u30C8\u540D..
- Replace the original code shown in Step 6.c with the following:
<trans-unit id="${adfBundle['oracle.adf.businesseditor.model.util.BaseRuntimeResourceBundle']['persdef.sessiondef.oracle.iam.ui.runtime.form.model.user.entity.userEO.UD_GCP_USR_ACCOUNT_NAME__c_description']}"><source>Account Name</source><target>u30A2\u30AB\u30A6\u30F3\u30C8\u540D</target></trans-unit><trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model.gcp.entity.gcpEO.UD_GCP_USR_ACCOUNT_NAME__c_LABEL"><source>Account Name</source><target>\u30A2\u30AB\u30A6\u30F3\u30C8\u540D</target></trans-unit> - Repeat steps 6.a through 6.d. for all attributes of the process form.
- 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.
- Search for the following text:
- Repackage the ZIP file and import it into MDS.
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
- Log out of and log in to Oracle Identity Governance.