Prior to loading IBM® Sterling Warehouse Management System Language Pack translations, ensure that you have loaded the database factory defaults.
To load the language pack translations with custom localization literals, run the LocalizedStringReconciler tool in IMPORT mode from the <INSTALL_DIR>/bin directory as follows:
./sci_ant.sh (cmd) -f localizedstringreconciler.xml import
-Dsrc=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS
This LocalizedStringReconciler tool first inserts the values specified in the <from_language>_<from_country or region>_comlocalizedstrings_<to_language>_<to_country or region>.properties file present in the <INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS/<language>_<country or region> directory into the database.
You can specify the Dbasefilename parameter and the Dvariablefilename parameter in the localizedstringreconciler.xml file.
The Dbasefilename parameter provides the path to a base file that contains all the literals and the corresponding translations in the respective languages. The Dvariablefilename parameter points to the properties file that contains the values for the variables present in the literals in the base file. These variables are resolved by referring to the properties file before loading the literals and their translations in the base file into the YFS_LOCALIZED_STRINGS table.
For example, if a literal in the base file is listed as YNW_WorkOrder_\#{PCA_Version}, a corresponding entry, say PCA_Version=94, exists in the properties file for the PCA_Version. This variable will be resolved by passing it as parameter to the localizedstringreconciler.xml file and the entry in the YFS_LOCALIZED_STRINGS table will be updated as YNW_WorkOrder_94.
The LocalizedStringReconciler tool is run separately for the ynwfclocalizedstrings file that contains the factory setup and the ynwrilocalizedstrings file that contains the reference implementation data.
The ynwfclocalizedstrings file requires the ynw_ref_tmp_variable.properties file to resolve the variables present in the literals in the base file. Similarly the ynwrilocalizedstrings file requires the ynw_ref_variable.properties file to resolve variables. These property files are passed as a parameter to the localizedstringreconciler.xml file.
The following examples display the requisite formatting for the Dbasefilename parameter and the Dvariablefilename parameter:
For factory setup:
./sci_ant.sh (cmd) -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS -Dbasefilename=ynwfclocalizedstrings -Dvariablefilename=/resources/ynw_ref_tmp_variable.properties
./sci_ant.sh (cmd) -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS -Dbasefilename=ynwfcaddinlocalizedstrings -Dvariablefilename=/resources/ynw_ref_tmp_variable.properties
For reference implementation:
./sci_ant.sh (cmd) -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS -Dbasefilename=ynwrilocalizedstrings -Dvariablefilename=/resources/ynw_ref_tmp_variable.properties
For example, you must first run the ynwfclocalizedstrings, ynwfcaddinlocalizedstrings, ynwrilocalizedstrings, and then ycplocalizedstrings.