In many case the developer uses a build process that compiles the release version of the application, creates the setup applications, etc. In such process the interactive Sisulizer application can not be used. Sisulizer Enterprise edition includes a make tool called SlMake (<sisulizerdir>/SlMake.exe). It is a command line tool and provides an interface for most Sisulizer features including scanning, translation, building, exchanging, importing and exporting. You can use SlMake in traditional make files and in modern build automation servers.
SlMake syntax is:
SlMake <tasks> project [-q] [-a] [-w] [-e] [-h]
Where <tasks> contains one or more tasks and their options. Possible tasks are:
|add||Add a new source and create a new project if needed|
|create||Create localized items|
|duplicate||Translate duplicate strings|
|exchange||Create an exchange package|
|export||Export data to a file|
|fillpseudo||Fill pseudo translation|
|import||Import data to project|
|merge||Merges two Sisulizer projects|
|remove||Remove unused items|
|removepseudo||Remove pseudo translation|
|report||Create a project report|
|translate||Translate strings using translation engines|
|validate||Validate original or translated values|
If no task is given the create task is performed. project is a Sisulizer project file (.slp) to be processed.
Possible options are:
|-q||Quiet mode. Only errors are shown.|
|-a||Ansi mode. Output is written in Ansi instead of UTF-8.|
|-w||Result code is 2 if errors, 1 if warnings, and 0 if successful. Otherwise result code is 1 if errors and 0 in other cases.|
|-e||Show detailed error information.|
|-h||Show detailed help about a task.|
SlMake writes messages to standard output (stdout) and error messages to standard error output (strerr). By default output is written in UTF-8. If you specify -a options the output is written in Ansi.
To learn more about SlMake open command line prompt, go to Sisulizer directory, and type SlMake <taskname> -h. For example:
SlMake exchange -h
will show you information about the exchange task.