Localizing Field Labels in UI Forms
You can localize UI form field labels by creating and using a file containing localized versions for your target system fields.
To localize field label that you add to in UI forms:
- Create a properties file (for example, GR_ja.properties) containing localized versions for the column names in your target system (to be displayed as text strings for GUI elements and messages in Identity System Administration and Identity Self Service).
- 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 to the local computer.
- Extract the contents of the archive, and open the following file in a text editor:
SAVED_LOCATION\xliffBundles\oracle\iam\ui\runtime\BizEditorBundle_en.x
- 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 Generic SCIM application instance. The original code is:
<trans-unit id="$ {adfBundle['oracle.adf.businesseditor.model.util.BaseRuntimeResou rceBundle'] ['persdef.sessiondef.oracle.iam.ui.runtime.form.model.user.entity .userEO.UD_GENERIC_NAME_GIVEN_NAME c_description']}"> <source>Name Givenname</source> <target/> </trans-unit> <trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model.GRGAForm1.entity. GRGAForm1EO.UD_GENERIC_NAME_GIVEN_NAME c_LABEL"> <source>Name Givenname</source> <target/> - Open the properties file created in Step 1 and get the value of the attribute, for example, global.udf.UD_GENERIC_NAME_GIVEN_NAME = \u4567d.
- Replace the original code shown in Step c with the following:
<trans-unit id="$ {adfBundle['oracle.adf.businesseditor.model.util.BaseRuntimeResou rceBundle'] ['persdef.sessiondef.oracle.iam.ui.runtime.form.model.user.entity .userEO.UD_GENERIC_NAME_GIVEN_NAME c_description']}"> <source>Name Givenname</source> <target>\u4567d</target> </trans-unit> <trans-unit id="sessiondef.oracle.iam.ui.runtime.form.model.GRGAForm1.entity. GRGAForm1EO.UD_GENERIC_NAME_GIVEN_NAME c_LABEL"> <source>Name Givenname</source> <target>\u4567d</target> - Repeat Steps 7.a through 7.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.