Okapi Framework - Steps

Format Conversion Step

- Overview
- Parameters

If you are using an Okapi Tool after the M9 release, you should be using the wiki online help:
http://www.opentag.com/okapi/wiki/index.php?title=Format_Conversion_Step

Overview

This step creates output in a given format using the data extracted from an input document.

Takes: Filter events
Sends: Filter events

The purpose of this step is to convert one or more input document from one format to another.

The documents generated by this steps are not meant to be merged back into their original format, for that purpose use the Raw Document to Filter Events step, then the Filter Events to Raw Document to merge the extracted data back.

Parameters

Output format -- Select the type of output file to generate. The following formats are available:

Output only approved entries -- Set this option to output only the entries that have the target property approved set to "yes". For example "fuzzy" entries in a PO file have this property set to "no". Note that entries without this property are assumed to be non-approved.

Output generic inline codes -- Set this option to use generic inline codes in the output document. A generic inline code is in form <N>, </N>, and <N/> where N is the number identifier of the code.

Create a single output document -- Set this option to generate one output document for all input documents. If this option is not set, one output document is created for each input document.

Output path -- Enter the full path of the output document to generate. Note that for a Pensieve TM the output must be a directory. This field is enabled only if the option Create a single output document is set. You can use the variable ${rootDir} in the path.

Output paths are the input paths plus the new format extension -- Set this option to create output file that are the same as the input file with and additional extension denoting the format o fthe output: .po, .tmx, etc. If this option is not set, the outputs will be the ones specified by the calling application. Note that this option is only available if the option Create a single output document is not set, that is when each input corresponds to an output.