7.2 Deployment of the language pack
Language pack can be classified in the following types
Database Scripts:
- Login to OBAPI Schema
- Execute following SQL files :
- Commit the changes
Weblogic Configuration:
- Copy all files/ directories from OBDX_<VERSION>_TRANSLATION_PACK\<LOCALE>\configto digx-lzn-libs/WEB-INF/classes/ hosted on Weblogic Server
UI Configuration:
- Copy complete
OBAPI_<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/help
to<CHANNEL_PATH}/partials/help/<LOCALE>
- Override all help files from
OBAPI_<VERSION>_TRANSLATION_PACK\<LOCALE>\channel\partials\help\<LOCALE>
to<CHANNEL_PATH>/partials/help/<LOCALE>
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