Skip to content
/ AST Public

ASS Subtitles Translate with LibreTranslate engine + LUA script to use it with Aegisub

License

Notifications You must be signed in to change notification settings

TW2/AST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AST :: ASS Subtitles Translate

Translate with LibreTranslate engine

AST 001 screenshot

Installation of LibreTranslate

1/ Install a working distribution of Python 3 in your computer. (Tested with Python 3.11.0)
2/ Create a virtual environment somewhere in your system.
3/ Activate your virtual environment.
4/ Install LibreTranslate with pip install libretranslate command.
5/ Due to a numpy 2 error do pip install numpy==1.26.4 command.
6/ Deactivate your virtual environment.

Installation of ASS Subtitles Translate with Git and Maven

1/ Install Java 22.
2/ Install Git.
3/ Install Maven and create a PATH access.
4/ Clone this repository with a git command.
5/ Type the maven package command to install this project into your system.

Usage of AST with LibreTranslate

1/ Activate your virtual environment.
2/ Type libretranslate command to start the local service.
3/ Open AST and open an ASS script on it.
4/ Configure the 'From' language and the 'To' language.
5/ Click on Auto translate and wait.
6/ Once done, you can do anything else, save your work and close AST.
7/ On your Terminal, type CTRL+C to stop the service properly.
8/ Deactivate your virtual environment.