Full export to back up existing localization literals
You can create a full export to back up existing localization literals in case of a system failure.
About this task
To create a full export to back up the existing localization literals:
Procedure
- Run the LocalizedStringReconciler tool from
<INSTALL_DIR>/binin EXTRACT mode as follows:For UNIX:
sci_ant.sh -f localizedstringreconciler.xml extract -Ddestdir=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLSFor Windows:
sci_ant.cmd -f localizedstringreconciler.xml extract -Ddestdir=<INSTALL_DIR>\repository\factorysetup\complete_installation\XMLSThis exports the literals that are currently defined in the YFS_LOCALIZED_STRINGS table.
- To extract the existing localized strings
for a specific locale, use the optional parameters
localeandcountry. The usage is as follows:For UNIX:
sci_ant.sh -f localizedstringreconciler.xml extract -Ddestdir=<INSTALL_DIR>/repository/factorysetup/complete_installation /XMLS -Dlanguage=fr -Dcountry=FRFor Windows:
sci_ant.cmd -f localizedstringreconciler.xml extract -Ddestdir=<INSTALL_DIR>\repository\factorysetup\complete_installation \XMLS -Dlanguage=fr -Dcountry=FRFor example, if there are three locales that contain localized factory defaults in the database, one file is created for each locale in the following format:
<baselanguage>_<basecountry>_ycpdblocalizedstrings_<language>_ <country>_db.propertiesEach file is saved within the
extnfolder within the respective locale directory. For instance, for the localefr_FR, the fileen_US_ycpdblocalizedstrings_fr_FR_db.propertiesis created and saved to the<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLS/fr_FRdirectory. - To
re-import the backed-up literals, run the LocalizedStringReconciler
tool from
<INSTALL_DIR>/binin IMPORT mode with the file for which you have exported the literals as follows:For UNIX:
sci_ant.sh -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>/repository/factorysetup/complete_installation/XMLSFor Windows:
sci_ant.cmd -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>\repository\factorysetup\complete_installation\XMLS