Using of SLMake tool – import task

This article is part of article set related to SLMake using. In this article you can find information about import task. This task imports a file to the project. Equals to “File”-> “Import” menu of Sisulizer. Click here, if you would like go to our article with tasks index.

Syntax

SlMake import file <options> project

Possible options are

-type:X – Source type:

If no type is specified SlMake detects the type of the source.

-lang:X – List of language codes to be imported. Separate multiple codes with semicolon. Format is ll[-CC][.src]:

-separator:X – ASCII hex value of the column separator character of text file. Default value is 9 (0×9 = tab).

-empty – Import the translation even if it is empty.

-noequal – Do not import the translation if it is same as original value.

-nomatch – Import even if the context and original value do not match.

-overwrite:X – Specifies if current values are overwritten:

-status:X – Specifies if the status values are imported:

-method:X – Specifies how strings are imported:

-comment:X – Specifies how comments are imported:

-columns:X – List of text columns. Use this if the imported file is an Excel file. Separate multiple columns with semicolon. Language columns use the same ISO codes as the lang option.The first language column is the original language. Following special columns can be used:

-textdef:X – Specifies the name of the text definition that is used. Use this if the imported file is a text file.

-sheet:X – Specifies name of Excel sheet where data is imported from. This is optional and if not given the first sheet is used.

-range:LT:RB – Specifies range of Excel sheet where data is imported from. This is optional and if not given the import range is detected.

-escape:X – String escape method:

-q – Quiet mode. Only errors are shown.

-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.

Examples

Janusz

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

[...] import – Import data to project [...]

Leave a comment

(required)

(required)


For spam filtering purposes, please copy the number 1808 to the field below: