https://github.com/gamemaker1/subtitle-translator
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.
https://github.com/gamemaker1/subtitle-translator
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/gamemaker1/subtitle-translator
- Owner: gamemaker1
- Created: 2018-01-05T02:53:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-05T03:29:22.000Z (over 8 years ago)
- Last Synced: 2025-03-28T19:47:34.693Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.