Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiahamedi/ConvertSrt2Per
Convert English subtitle to Persian subtitle
https://github.com/kiahamedi/ConvertSrt2Per
Last synced: 3 months ago
JSON representation
Convert English subtitle to Persian subtitle
- Host: GitHub
- URL: https://github.com/kiahamedi/ConvertSrt2Per
- Owner: kiahamedi
- License: apache-2.0
- Created: 2018-06-29T20:03:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T23:37:00.000Z (over 2 years ago)
- Last Synced: 2024-08-05T09:15:13.800Z (7 months ago)
- Language: Python
- Size: 225 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConvertSrt2Per
> Convert English subtitle to Persian subtitle[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)

## dependencies
for first use install depencency from requirements with run this command:
```
pip install -r requirements.txt
```list of dependencies:
* googletrans
* colorama## Downloading
```bash
$ git clone https://github.com/kiahamedi/ConvertSrt2Per.git
$ cd ConvertSrt2Per/
$ python ConvertStr2Per.py input.srt out.srt
```## Install Manual
```bash
$ cd /tmp
$ git clone https://github.com/kiahamedi/ConvertSrt2Per.git
$ cd ConvertSrt2Per/
$ mv ConvertSrt2Per.py convertSrt2Per
$ chmod +x convertSrt2Per
$ sudo cp convertSrt2Per /usr/local/bin/
$ convertStr2Per input.srt out.srt
```## Install Auto
`cd /tmp && git clone https://github.com/kiahamedi/ConvertSrt2Per.git && cd ConvertSrt2Per && mv ConvertSrt2Per.py convertSrt2Per && chmod +x convertSrt2Per && sudo cp convertSrt2Per /usr/local/bin/`now use this command for run:
`convertStr2Per input.srt out.srt`## Uninstall
use this command for uninstall:
`sudo rm /usr/local/bin/convertSrt2Per`## warning
>this script work with python 3## Are you a developer?
> 1-Fork it!
> 2-Create your feature branch: git checkout -b my-new-feature
> 3-Commit your changes: git commit -am 'Add some feature'
> 4-Push to the branch: git push origin my-new-feature
> 5-Submit a pull request