Spend Management Blogs by SAP
Stay current on SAP Ariba for direct and indirect spend, SAP Fieldglass for workforce management, and SAP Concur for travel and expense with blog posts by SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member89217
Contributor

Overview

Installing multiple language packs can be time consuming.  To help with the process, we are providing an unattended option to allow for an easy reproducible method to load or reload language packs.   For each language , two install scripts are required.  This procedure leverages the command line option of DBIMPORT to script these imports all at once without using the UI.  Logs will be created as they would when using the UI. And an overall output of the import activity can be collected and reviewed afterwards.

Preparation

Edit a copy of the Template.  (see Appendix A)

For each language add a section and change the settings in RED to the appropriate values for that language as follows:

echo ---------SWEDISH-------------

echo Start ODP/sv ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ODP/sv/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ODP/sv complete

echo Start ESO/sv ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ESO/sv/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

echo ESO/sv complete

@IF %ERRORLEVEL% NEQ 0 GOTO END

  

Execution

Once you have your modified version of the multi-lang.cmd file,  Copy it to a location of your choice. I chose to put it in <FCI_HMOMEDIR>/bin  You may choose a different place, that’s fine, since the path to DBIMPORT is included in the batch file.

  1.       Shut down the application.

  2.       Backup your database.

  3.       At a DOS Command prompt>

            CD to <FCI_HOMEDIR>/bin

  4.       Enter @multi-lang.cmd > out.txt  (this creates a file out.txt with all the standard output for review later)

  5.       Wait for this to finish

  6.       Review out.txt

7.       Review the two logfiles produced for each language. (located in <FCI_HOMEDIR>/logs.)

  8.       Start the application and check that the languages were installed properly.

Verification

Check for the expected language packs.

Check for mail templates for each language.

Individual localized resource:

  

Login Page:

APPENDIX A – The template.  (multi-lang.cmd) This template includes German, Swedish, French…

@echo off

REM This is a template for executing multiple language imports

REM Please add/remove appropriate language codes before installing.

REM Please modify the system password before proceeding

REM --------------------------------------------------------------------------------

REM              Deutsch   : de (german)

REM              English      : en

REM              Spanish        : es (spain)

REM              French      : fr (France)

REM              Italiano     : it

REM              Nederlands     : nl (Dutch)

REM              Portuguese                    : pt (Brazilian)

REM              Turkish      : tr

REM              Russian     : ru

REM              Chinese    : zh

REM              Japanese                         : ja

REM              Korean                              : ko

REM              Danish       : da

REM              Swedish   : sv

REM              Polish        : pl

REM              Slovak        : sk                

REM              Hungarian                       : hu

REM              Finnish      : fi

REM              Czech                                 : cs

REM ------------------------------------------------------------------------------------

echo ---------GERMAN-------------

echo Start ODP/de ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ODP/de/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ODP/de complete

echo Start ESO/de ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ESO/de/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

echo ESO/de complete

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ---------SWEDISH-------------

echo Start ODP/sv ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ODP/sv/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ODP/sv complete

echo Start ESO/sv ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ESO/sv/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

echo ESO/sv complete

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ---------FRENCH-------------

echo Start ODP/fr ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ODP/fr/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

@IF %ERRORLEVEL% NEQ 0 GOTO END

echo ODP/fr complete

echo Start ESO/fr ......

call dbimport.bat -nogui -c:system -u:system -p:manager90 -f:classpath:///i18n/ESO/fr/install_language.xml

echo ERRORLEVEL =  %ERRORLEVEL%

echo ESO/fr complete

@IF %ERRORLEVEL% EQU 0 GOTO DONE

REM the end....

:END

echo ERROR detected

:DONE

echo all is well

1 Comment