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
Hello @preciouskkura , These are steps to translate a Korean srt file to English :
First you need to hava "python" program on your system
if you have already installed it go to next step.
Open cmd or terminal on your system and paste or type this code and press Enter : pip install git+https://github.com/karim23657/Subtr
Create a .py file with any python ide like this and save it :
fromsubtrimportSubTrtranslator=SubTr()
# Here you should replace 'Your_Korean_File.srt' with full path of your own srt file like : 'C:/Users/Admin/Downloads/Korean.srt'translator.srt('Your_Korean_File.srt')
# Here you should replace 'Translated_File.srt' with full path of where you want to save it# Two letter language code dest_lang="en" (language which srt file translated to) , src_lang="ko" (language of srt file ) translator.translate(dest_lang="en" , src_lang="ko",save_path='Translated_File.srt')
Hi, i'm new to this code stuff so i'm a little bit lost on how to translate the Korean srt files I have. Can you please make an easier tutorial?
The text was updated successfully, but these errors were encountered: