7.2 Deployment of the language pack

This topic provides information on Deployment of the language pack.

Language pack can be classified in the following types

Database Scripts:

  1. Login to OBDX Schema
  2. Execute following SQL files :

  3. Commit the changes

Weblogic Configuration:

  1. Copy all files/ directories from OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\config to ${OBDX_HOME}\config hosted on Weblogic Server

    Note:

    The path for ${OBDX_HOME}\config can be found under Managed Server classpath which is accessible via Weblogic Administration.

UI Configuration:

  1. Copy complete OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\resources\nls\<LOCALE> directory to <CHANNEL_PATH>/resources/nls/
  2. Create a new <LOCALE> directory in <CHANNEL_PATH>/partials/help
  3. Copy all existing files from <CHANNEL_PATH>/partials/help to <CHANNEL_PATH}/partials/help/<LOCALE>
  4. Override all help files from OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\partials\help\<LOCALE> to <CHANNEL_PATH>/partials/help/<LOCALE>
  5. Validate required language entry is maintained at <CHANNEL_PATH>scripts/webpack/loaders/resource-bundle-loader.js in supportedLang variable.
  6. Run the GUI Build.

Configure below properties:

  1. Open file digx-shared-libs/WEB-INF/classes/Preferences.xml
  2. Add following lines
    <Preference name=“ErrorMessagesConfig_<LOCALE>” PreferencesProvider=“com.ofss.digx.infra.config.impl.DBBasedPropertyProvider” 
    parent=“jdbcpreference” propertyFileName=“select ERROR_CODE, 
    ERROR_MESSAGE from DIGX_FW_ERROR_MESSAGES where USER_LOCALE = ‘<LOCALE>’” 
    syncTimeInterval=“0” />
    <Preference name=“InfoMessagesConfig_<LOCALE>” PreferencesProvider=“com.ofss.digx.infra.config.impl.DBBasedPropertyProvider” 
    parent=“jdbcpreference” propertyFileName=“select INFO_CODE, 
    INFO_MESSAGE from DIGX_FW_INFO_MESSAGES where USER_LOCALE = ‘<LOCALE>’” syncTimeInterval=“0" />