Skip to content

cyberc00z/trans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRANS

                [FOLLOw MY GITHUB BROS!!]

trans

Installation

  
# clone the repo

$ git clone https://github.com/xadhrit/trans.py

# change directory

$ cd trans

# install all requirements

$ python3 -m pip install -r requirements.txt

and you are good to go.

Usage :

# For Pdf translation :

$ python3 trans.py

1. Enter target language's first two letter (e.g : 'en' for english, 'th' for thai etc. etc. )

2. Enter pdf file's path

output~# create  a text file with translated text in same directory as original file . 
# For Text file translation :

$ python3 textfile_trans.py

1. language

2. file's path

Star it , fork it and help me to make better.