Supported File Types

Video Subtitle Files (SubRip SRT)

 

Extension .srt
Smartling Identifier srt
*Example File subtitle.srt
*Resources SubRip

Smartling supports translation of SubRip SRT Files.

File directives for API Service configuration parameters are listed below. Inline directives are not supported.

Directives

entity_escaping

Exact delivery depends on file type.

Values auto (default)
true (or yes)
false (or no)
Description Can control whether or not characters will be "escaped" into entities when delivering translations. This can be set universally for the whole file via API.
Examples https://<some_api_request>?<parameters>&smartling.entity_escaping=false 

For example, your translation might look like this:
Smartling HTML escaping < > & " example string4

By default, using the "auto" setting, we would assume this is HTML from the <hr> tag and it would be converted to:
Smartling HTML escaping &lt; &gt; &amp; &quot; example string4

Using smartling.entity_escaping = false would allow Smartling HTML escaping < > & " example string4 to appear as it should.

whitespace_trim

Values 

on|yes|true or off|no|false or leading|trailing

The default value is on

Description 

A whitespace is any character or series of characters that represent horizontal or vertical space in typography. When rendered, a whitespace character is not a visible mark, but does occupy an area or space on a page.

Although whitespaces are necessary within a string (typically to separate words), unnecessary whitespaces can be found at the start of a string (leading) and at the end of a string (trailing).

With this directive, you can trim whitespaces, as it enables or disables whitespace trim management for the ingested strings.

By default, the leading and trailing whitespaces are trimmed.

You can choose to disable trimming or specify trimming for leading or trailing whitespaces.

The directive can be used inline or as the API request parameter.

Examples 

smartling.whitespace_trim=on

Smartling will trim leading and trailing whitespaces (default)

smartling.whitespace_trim=off

Smartling will not trim leading or trailing whitespaces

smartling.whitespace_trim=leading

Smartling will trim only leading whitespaces

smartling.whitespace_trim=trailing

Smartling will trim only trailing whitespaces

 

Translating Video Subtitle Files

Smartling allows you to translate SubRip (SRT) files with Visual Context. When the user in the CAT Tool clicks the target string, the video automatically plays for that specific string. on the Translators can loop, pause, and adjust the playback rate of the video context for the most accurate subtitle translations.

When you upload an SRT file to Smartling, you'll be prompted to add your video link in the same step. Make sure you have both assets ready, or you won't be able to complete your upload.

Upload an SRT and Video Context File

  1. If you haven't already done so, create a Media type project in your Smartling account.
  2. Do one of the following: 
    • In the New Experience, from your media project, click the Files tab > Upload Files
    • In the Classic Experience, from your media project, go to Content > Files and click Upload Files.
  3. Upload your SRT file (one at a time).
  4. In the next prompt, enter the URL for your MP4, Vimeo, or YouTube video link and click Upload.

Alternatively, if you do not have the URL ready at the time of SRT upload, you can add the URL at a later stage, via the Context tab. See Add a Video URL for Subtitle Translation for more information.

What happens Next?

Once your SRT and video files have been added to Smartling, you'll see them in your Files list. You may experience a slight delay with the video thumbnail until the best frame is loaded.

Only direct links to an MP4 file, Vimeo, or YouTube video are supported. Your link should look something like this: https://yoursite.com/demos/sample-videos/small.mp4. Keep in mind the following when adding your video file link:

  • It must be publicly accessible
  • It can't be a link to a video that's embedded in a web page
  • It can't be a link that previews the video in a browser

Update an SRT or Video File

If you make changes to your original video or subtitles, you can update these assets in Smartling for retranslation.

  1. Do one of the following:
    • In the New Experience, from your media project, click the Files tab and then click the three dots.
    • In the Classic Experience, from your media project, go to Content > Files and click the three dots.
  2. Select Delete File from the dropdown.
  3. Click Upload Files, and upload your updated SRT file and/or updated video link.

Video Tutorial: Translating Video Subtitles in Smartling


Timestamps:

Step 1: Create a .srt or .vtt file 00:06
Step 2: Check the segmentation
00:51
Step 3: Upload the subtitle file to Smartling
02:06
Step 4: Upload the video as visual context
02:45
Step 5: Authorize the job
03:34
What your linguists see
03:45
Step 6: Download the completed translations
04:14
Step 7: Add the translated subtitles to your video
04:32
   a. Closed captions
04:41
   b. Open captions
04:56
Help & Support
05:08

Was this article helpful?