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:
- Login to OBDX Schema
- Execute following SQL files :
- Commit the changes
Weblogic Configuration:
- 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:
- Copy complete
OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\resources\nls\<LOCALE>directory to<CHANNEL_PATH>/resources/nls/ - Create a new
<LOCALE>directory in<CHANNEL_PATH>/partials/help - Copy all existing files from
<CHANNEL_PATH>/partials/helpto<CHANNEL_PATH}/partials/help/<LOCALE> - Override all help files from
OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\partials\help\<LOCALE>to<CHANNEL_PATH>/partials/help/<LOCALE> - Validate required language entry is maintained at
<CHANNEL_PATH>scripts/webpack/loaders/resource-bundle-loader.jsin supportedLang variable. - Run the GUI Build.
Configure below properties:
- Open file digx-shared-libs/WEB-INF/classes/Preferences.xml
- 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" />
Parent topic: Language Pack
