Skip to content

Kidlike/trsubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translates srt subtitle files from a language to another using Google Translate.

  • Works only on linux. bash required (until the port of translate.bsh to java).
  • The only files required are "translate.bsh" and "trsubs-1.0-SNAPSHOT-jar-with-dependencies.jar". The latter can be renamed.
  • If --input-language is omitted, "auto" will be used.
  • You can find language letters from the google translate website.

Example (run from this directory):

java -jar target/trsubs-1.0-SNAPSHOT-jar-with-dependencies.jar -i 100-bloody-acres.se.srt -o 100-bloody-acres.en.srt -s se -t en


Usage help: -h,--help prints help -i,--input-file The input srt file -o,--output-file The output srt file -s,--input-language The input's language (can be omitted optionally) -t,--output-language the output's language


Build from source:

mvn clean install

About

translate subtitle files using Google Translate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages