Documentation Center

Subtitle formats

The Subtitle formats file type has the *.srt, *.vtt, *.sbv, *.sub, and *.ttml extension.

Common settings

SettingInstruction
Process line breaks automaticallyThis feature replaces the line breaks from the source file with spaces and wraps the lines automatically while writing them to the target file. The reason for this is that we assume that the number of characters to express certain content can sometimes be significantly different between languages. If wrapping is needed, then this feature can insert the line breaks automatically into the target file so that the user does not have to do it.
  • When the setting is disabled (by default), the line breaks from the source file are extracted as line feed characters and these line feeds are kept in the target as well.
  • When the setting is enabled, the line breaks from the source file are replaced with spaces, and the target file content is wrapped automatically to the desired length.
Limit line length (characters)If you choose the option above, select a number from the list. The number represents the maximum line length.

Embedded Content

SettingInstruction
Allow processing of content embedded in a document into tagged markup according to a set of regular expression rules. Embedded content is identified using document structure information.Toggle the button to enable the use of regular expressions when processing embedded content as translatable content.
Defined by document structure information - Document structure informationType the name of the document structure item and then select plus sign.
Defined by document structure information - Tag definition rulesEnable this option to set the selected embedded content processors to extract embedded content from specific context. Create extraction rules based on the document structure information. Make sure that the document structure information you specify here is covered by a parser rule in the Parser settings section for your file type. Trados Studio and Trados Online Editor can only extract embedded content that is recognized by the file type parser.
  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 the regular expression.
  4. Select the Ignore Case check box to ignore the case of the identified content. Otherwise, keep the default value (clear check box).
  5. From the Segmentation Hint list, choose a value from the list to determine how segmentation is performed: May Exclude (default), Include, Include With Text, Exclude. The value you specify here is available when you configure a parser rule under Parser > Add New Rule > Properties > Advanced Settings > Segmentation Hint. Check this topic to learn what each segmentation hint does.
  6. Select Save.