Sign inSign up

gpocali/srt-translator

By gpocali

Updated over 3 years ago

Translate the language of SRT files for closed captioning

Image
0

3.1K

gpocali/srt-translator repository overview

srt-translator

Translate the language of SRT files for closed captioning

Description

This docker accepts an SRT file via the web UI and then uses Google Translate API to translate the contents to the selected language. This is useful for converting subtitles on youtube videos to different languages for broader reach in the international community.

Google Translate API

This docker makes calls to Google translate to parse the translation and requires an API key to authenticate with the Google servers. Details about obtaining the API Key can be found here: https://cloud.google.com/translate/docs/setup

Required Path

The credentials json file generated by Google API should be mounted at the following location as read only

  • /appdata/credentials.json
  • /upload
  • /translated

Usage

  • Optionally select an SRT file for upload. If none is present, only the title and description are translated.
  • Enter Title
  • Enter Description
  • Click Submit button

Tag summary

Content type

Image

Digest

sha256:dc5248468

Size

43.2 MB

Last updated

over 3 years ago

docker pull gpocali/srt-translator