Preparing Content for Translation

WebVTT

Extension .vtt
Smartling Identifier vtt
Example File subtitle.vtt
Resources W3.org - WebVTT

Directives

Format

smartling.[directive_name] = [value]

 

vtt_key_type

Value  id | time_range
Description 

Change the key detection type.

Default: time_range

time_range = time range is treated as a key.

ID = cue id or caption will be treated as a key.

If the value is id, but the caption for a cue is not present - the key for the cue is null.

Examples 

smartling.vtt_key_type = id

smartling.vtt_key_type = time_range

 

vtt_variant_type

Value  id | time_range
Description 

Change the variant detection type.

Default: time_range

time_range = time range is treated as a variant.

ID = cue id or caption will be treated as a variant.

If the value is id, but the caption for a cue is not present - the variant for the cue is null.

Examples 

smartling.vtt_variant_type = id

smartling.vtt_variant_type = time_range

 

 

Was this article helpful?