Skip to content

kiahamedi/ConvertSrt2Per

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConvertSrt2Per

Convert English subtitle to Persian subtitle

Maintenance

alt text

dependencies

for first use install depencency from requirements with run this command:

pip install -r requirements.txt

list of dependencies:

  • googletrans
  • colorama

Downloading

$ git clone https://github.com/kiahamedi/ConvertSrt2Per.git
$ cd ConvertSrt2Per/
$ python ConvertStr2Per.py input.srt out.srt

Install Manual

$ 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

About

Convert English subtitle to Persian subtitle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages