Rainbow TKit - ONTRAM XINI

From Okapi Framework
Jump to: navigation, search

Overview

The ONTRAM XINI package is one of the types of translation packages you can create with the Rainbow Translation Kit Creation Step. Such package can be post-processed using the Rainbow Translation Kit Merging Step.

In this package the input documents are extracted into one corresponding XINI file, which can be uploaded and translated with ONTRAM.

Options

This package has no options.

Details

Sub-Directories

As all input documents are extracted into one XINI document, no sub-directories will be created.

Inline Codes

All inline codes are usually stored as <ph>. Alternatively <sph>/<eph> is used when the opening and the closing code are not inside the same segment.

Segmentation

Segments are represented by <seg> elements. Empty segments will be striped out and their position within the parent element is saved in an attribute. 1 standing for an empty segment and 0 standing for a non-empty segment. This could be an example for 3 segments, with the second segment being empty: <Field EmptySegmentsFlags="010" ...>

Pre-Translation

Pre-Translation is not possible at this time.

Package Layout

Assuming that your package name is pack1, your input root ends with main, you have selected to use the same filenames as the input files for the output files, and you have the following source files:

--- main
    |
    +--- index.html
    +--- myFile.idml
    +--- subDir
         |
         +--- index.html 

The layout of this package after creation will be:

--- pack1
    |
    +--- manifest.rkm
    +--- original
    |    |
    |    +--- index.html
    |    +--- myFile.idml
    |    +--- subDir
    |         |
    |         +--- index.html
    |
    +--- xini
         |
         +--- contents.xini
  • original contains a copy of the original source documents. You needs those files for post-processing.
  • xini contains one XINI document that is to be translated. The translation is expected to be saved into this file.

After post-processing it will be:

--- pack1
    |
    +--- translated
    |    |
    |    +--- index.html
    |    +--- myFile.idml
    |    +--- subDir
    |         |
    |         +--- index.html
    |
    +... (same as after creation)
  • translated contains the merged translated documents. This directory is created during post-processing.

Limitations

  • None known