- Overview
- Common Parameters
- Options - Options Tab
- Options - Attributes Tab

Overview

- The utility set identifier for this utility is: oku_set04
- The utility identifier is: ttxtotmx

The TTX To TMX Conversion utility allows you to generate TMX documents from TTX files.

Common Parameters

The common parameters are the options specified from the application calling the utility rather than in the options dialog box of the utility itself. For this utility the common parameters you need to specify are the following:

Files of the first input list - Needed (the TTX files to process)
Root for the first input list - Not Needed
Files of the second input list - Not Needed
Root for the second input list - Not Needed
Files of the third input list - Not Needed
Root for the third input list - Not Needed
Input language - Needed sometimes
Output language - Needed sometimes
Input default encoding - Not Needed
Output default encoding - Not Needed
Location and names for output files - Needed

Options - Options Tab

One TMX output for each input file -- Select this option to generate a one TMX document for each TTX input file. Each TMX document is generated in the same folder as the input file, with the same name, but with a .tmx extension. If another file with the same name already exists it is overwritten without warning.

Single TMX output for all input files -- Select this option to generate a single TMX document from all the TTX input files to process. The TMX document path is the one you specify below the option.

Full path of the TMX document -- Enter the full path of the single TMX document to generate.

Append to the TMX file if it exists already -- Set this option to add the output of the current process to an existing TMX document. If this option is set and the specified file does not exists, it is created.

Note that the header of the TMX document is not re-created if the file exists, so any information already there will remain, even if it is not corresponding to the translation units you are appending (for example the source and target language defaults).

Use <bpt> and <ept> when possible -- Set this option to generate a TMX document with <ept> and <bpt> for starting and ending inline codes found in the TTX files. If this option is not set, all inline codes will be generated as <ph> TMX codes.

Use the source and target languages of the TTX files -- Set this option to use the source and target languages declared in the TTX files in the generated TMX documents. If this option is not set, the program uses the input and output languages the user has specified instead. If you generate a single output document, and this option is set, the languages used are the ones declared in the first file processed.

Options - Attributes Tab

You can specify a list of attributes to be written out along with each translation unit generated from the TTX files. You can specify as many attributes as you want. The values of the attributes can be empty, and you can define several attributes with the same name if needed.

Add -- Click this button to create a new attribute. Edit Attribute dialog box is opened automatically.

Edit -- Click this button to edit the current attribute and its value. This opens the Edit Attribute dialog box.

Remove -- Click this button to remove the attribute currently selected from the list. The entry is removed without prompt for confirmation.

Force the datatype attribute to -- Set this option to specify your own value for the TMX datatype attribute. If this option is set, the value used is the one specified in the edit field of this option. If this option is not set, the value used is taken directly from the TTX file.

O-tmf -- Enter the original TM format identifier. This value will be used with the o-tmf attribute in the header of the TMX output.