Skip to content

This is a tool that translates subtitles in a .srt file format. Read on for further information on which languages it supports, how to use it and branching. Click the links below to view the code and sample inputs and outputs.

Notifications You must be signed in to change notification settings

gamemaker1/Subtitle-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle-Translator

This is a tool written in python that takes a file in the .srt format and returns a translated version of the original file in the .srt format. It uses the translator 'Deeplator' to complete its translations and supports six languages - (DE) German, (EN) English, (FR) French, (ES) Spanish, (IT) Italian, (NL) Dutch, (PL) Polish.

Usage - $python finalcodev11.py -i inputsrtfile.txt -o outputsrtfile.txt -lf EN -lt DE

Todos -

  1. Adding commments, documentation on code flow
  2. Ensure words in the translated file don't split across lines.

Please feel free to comment on the code and create your own branches. Do add a bit of your own features to the code and add pull requests once you're done. I will be very happy if others add a bit of their own knowledge to make this code better.

About

This is a tool that translates subtitles in a .srt file format. Read on for further information on which languages it supports, how to use it and branching. Click the links below to view the code and sample inputs and outputs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages