Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Translation & Language

Translation & Language

Translate Subtitle Files with Google Translate

When a form with a subtitle file is submitted, it splits the SRT lines, translates them with Google Translate into your chosen language and returns a translated file.

What it does

## Required Credentials https://docs.n8n.io/integrations/builtin/credentials/google/ ## Selecting Language You can update the form to include your preferred language code (that you are translating to), by updating the dropdown field with a new option. Or update the Google Translate node language option back to 'fixed' and select your desired language. This will ignore the form option, but is safe to do.

The steps

  1. Split Out
  2. Google Translate
  3. Aggregate
  4. Edit Fields
  5. Convert to File
  6. Split SRT Lines
  7. Generate Binary
  8. Prep Parts for Translate
  9. Clean Translations & Group Titles
  10. Join completed text with double new line
  11. Respond with file
  12. Receive SRT File to Translate
  13. Extract text from Binary File
  14. Expose Binary

Similar automations