Subtitles Translator is capable of translating around 100 languages. The Translator can be used either with a python library "googletrans" for free or the Google Cloud Platform for a minimal cost.
Make sure that subtitles.py file is in the same directory as of the file you want to translate.
- If you want to make multiple translations, use spaces between different languages. For example, if you want to translate to French and German, then use "fr de" as your input.
- If you want to make translations for all languages, use "all" keyword.
- Suggestion: Make a seperate folder for doing this.
- If you are using the free version, use "pip install googletrans" to add the library to your machine.
- If you are using the Cloud Platform, you need to set the path in your machine to the JSON file. You can get more information at https://cloud.google.com/translate/docs/reference/libraries.
Any contributions or suggestions will be highly appreciated. 😊
- Where can we use this?
- To create subtitles for youtube videos or for movies. This consists of many possibilities but is limited to videos.
- Do Google Cloud Platform offer free services?
- No. The services charge a minimal cost.
- You can signup for free and get $300 credit for free for 12 months to try out their services(currently offered).
- Where can I find the list of languages which can be translated?
- Go to https://cloud.google.com/translate/docs/languages for details on languages which can be translated using Google Cloud Platform.
- Which media player should I use?
- VLC media player(open source) is surely the best option available.But you can try out the rest.
- Which files can be translated(extension)?
- SubRip(.srt) files.
MIT License
Copyright (c) 2018 Abhimanyu Thakre.