Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# ConvertSrt2Per
> Convert English subtitle to Persian subtitle

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)

![alt text](https://raw.githubusercontent.com/kiahamedi/ConvertSrt2Per/master/wallpaper.png)

## 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