7.2 Deployment of the language pack

Language pack can be classified in the following types

Database Scripts:

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

  3. Commit the changes

Weblogic Configuration:

  1. Copy all files/ directories from OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\configto digx-lzn-libs/WEB-INF/classes/ hosted on Weblogic Server

UI Configuration:

  1. Copy complete OBAPI_<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 OBAPI_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\partials\help\<LOCALE> to <CHANNEL_PATH>/partials/help/<LOCALE>

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" />