Documentation Center

Text settings

The Text file type has the *.txt extension.

Common Settings

SettingInstruction
Line breaksFrom the list, choose an option to determine how line breaks are handled during translation: Keep Line Breaks, Remove Line Breaks, Replace Line Breaks with Inline tag.
Unicode UTF-8 byte order mark (BOM)From the list, choose an option to determine how BOM is handled during translation: Preserve; don't add if not originally present, Preserve: add if not originally present, Remove if present.
Display warnings for improperly paired tagsSelect the check box to be prompted when tags are not paired correctly.

Document structure

SettingInstruction
Specify opening and closing regular expression patterns to define the start and end points of translatable text. Text between the matches for the opening and closing patterns will be extracted for translation. An opening and closing pair must occur on the same line unless the rule is designed as multiline.Type the beginning and end pattern of regular expressions, and then decide whether it is multiline or not.

Inline tags

SettingInstruction
Inline patterns define text which should be converted to inline tags. These are treated as tag pairs or recognized tokens during the translation step. Example: Use "[\w-\.]+@[\w\.]+" to convert all email addresses into inline tags.To add a rule:
  1. Select Add New Rule.
  2. From the Tag Type list, choose a value: Placeholder or Tag Pair.
  3. In the Regular Expression field, enter a regular expression.
  4. Select the Ignore Case check box or keep it cleared.
  5. From the Segmentation Hint list, choose a value to determine how segmentation is performed: May Exclude (default), Include, Include With Text, Exclude. Check this topic to learn what each segmentation hint does.
  6. Select Save.