Documentation Center

YAML settings

The YAML file type has the *.yaml or *.yml extensions. YAML is a human-readable data-serialization language which is commonly used for configuration files and in applications where data is stored or transmitted.

Parser

SettingInstruction
Extract all string valuesThis option extracts all scalar strings in the YAML document. select the check box corresponding to the content format you want to include in your translation: Booleans, Numbers, Null.
Specify rules for extractionThis option extracts the scalars that are matched by at least one of the path rules.

The parser rule has three components:

  • YAML path
  • Context information - Users can either choose one of the standard context information or leave the Node default. If you choose Node the context info entry contains the actual path of the node for which the paragraph unit was extracted.
  • SID - Leave the field empty, as this option is only used by WorldServer. For more information about SID, consult the WorldServer documentation.
To specify an extraction path and rule:
  1. Under the YAML PATH column type the relevant information and leave the SID field empty.
  2. From the Document Structure Information list, choose a value.
  3. Select plus sign.

Embedded Content

SettingInstruction
ON / OFFON / OFF
Inside literal and folded scalars Select one of the available options: Embedded Content Plain Text v. 1.0.0.0, Embedded Content SpreadsheetML v. 1, Html Embedded Content 4.2.0.0, Html Embedded Content 5.2.0.0.
Defined by parser rulesChoose a parser rule, an embedded content processor, and select plus sign.
Defined by document structure informationChoose an element and select plus sign.