Table of Contents

Search

  1. Preface
  2. Introduction to Portal Configuration Tool
  3. Getting Started with the Portal
  4. Creating a Portal
  5. Adding Pages to Portal
  6. Managing a Portal
  7. Localizing a Portal
  8. Customizing a Portal
  9. Deploying a Sample Portal

Portal Configuration Tool Guide

Portal Configuration Tool Guide

Supporting Additional Languages

Supporting Additional Languages

You can support additional languages for the portal based on your business needs and the geographical region. For example, to support portal users in Eastern Europe, you can add Russian, Polish, Czech, or other Eastern European languages to the language bundle. After you add the languages and deploy the portal, the portal users can view the portal in the language of their choice.
  1. Localize the following
    Customer 360
    resources and custom resources to the language that you want:
    • Labels and error messages
    • Metadata
    • Lookup table
    For more information about localizing
    Customer 360
    resources and custom resources, see the
    Informatica MDM - Customer 360 Installation and Configuration Guide
    .
  2. Export the language bundle from the Portal Configuration tool.
    For more information, see Exporting the Language Bundle.
    The language bundle is downloaded as a ZIP file.
  3. To add a language to the portal, save a copy of the
    bundle.properties
    and
    errors.properties
    files either with the corresponding language code and country code or with the language code only.
    For example, to add support for the German language, save a copy of the
    properties
    files with the following names:
    • bundle_de.properties
    • error_de.properties
    To add support for the German dialect spoken in Austria, save a copy of the
    properties
    files with the following names:
    • bundle_de_at.properties
    • error_de_at.properties
  4. In a text editor, open the corresponding localized files and add the localized string values to the files.
  5. Compress the updated localized files to a ZIP file.
  6. Import the language bundle to the Portal Configuration tool.
    For more information, see Importing the Language Bundle.
  7. To generate JSON files for the corresponding localized bundle files, perform the following steps:
    1. At the command prompt, navigate to the following directory:
      <MDM installation directory>/app/portal
    2. Extract the contents of the
      generic-portal.ear
      file.
    3. Navigate to the directory that contains the extracted files.
    4. Extract the contents of
      mdm.ui-portal-ui-0.0.1.war
      and
      mdm.ui-portal-config-0.0.1.war
      files.
    5. Navigate to the
      locales
      folder in the directories that contain the extracted files.
    6. Use the English language JSON file,
      translation_en.json
      , as a reference and generate the JSON files for the respective localized bundle files.
      For example, if the
      PRODUCT_NAME
      key in the English language JSON file contains the value
      MDM Portal Configuration Tool
      , then ensure that the corresponding key in the German JSON file contains the localized version
      MDM-Portal-Konfigurationstool
      as the value.
      Ensure that the generated JSON files have all the values localized in the language that you want. Also, use the following formats to name the JSON files:
      • translation_<lang_key>.json
      • translation_<lang_key>_<country_code>.json
    7. Add the JSON files that you generate to the respective
      locales
      folders.
  8. Generate the
    generic-portal.ear
    with the newly added JSON files.
  9. To update the changes, deploy the portal again.
    For more information, see Deploying a Sample Portal.

0 COMMENTS

We’d like to hear from you!