You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
#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.py1. Enter target language's first two letter (e.g : 'en' for english, 'th' for thai etc. etc. )2. Enter pdf file's pathoutput~# create a text file with translated text in same directory as original file .
#For Text file translation:$python3 textfile_trans.py1. language2. file's path