You are here: Other topics > Translation manager > Merging from the Command Line
GEOVIA Surpac

Merging from the Command Line

It is possible (and required) for the work and translation files to be able to be merged into the master file from the command line by the Source Code Administrator. This can be easily done, either manually or from a script on any platform that can use Java.

This functionality works in exactly the same way as if you were performing the merge from inside the Translation Manager.

Merging a language file

To run the software in this mode, the following command line can be used:

JAVA -classpath JAR com.surpac.mlt.TranslationEditor -cl [MASTER DATABASE DIR] [TRANSLATION FILE]

To get extra message output place a "-v" (verbose) before the -cl

For example:

C:\jdk1.3.1_04\bin\java.exe -classpath C:\master\dma\develop\share\java\ssiclient.jar com.surpac.mlt.TranslationEditor -cl C:\master\dman\src\include C:\translation\spanish.uni

Merging a work file

To run the software in this mode, the following command line can be used:

JAVA -classpath JAR com.surpac.mlt.TranslationEditor -cw [MASTER DATABASE DIR] [WORK DATABASE DIR]

To get extra message output place a "-v" (verbose) before the -cw

For example:

C:\jdk1.3.1_04\bin\java.exe -classpath C:\master\dma\develop\share\java\ssiclient.jar com.surpac.mlt.TranslationEditor -cw C:\master\dman\src\include C:\sce\mb030303

Further technical information: