I found a really cool translator script that only needs gawk (gnu awk) to work. However, I’ve attempted to “beef it up” by creating a “front-end” of sorts that uses dialog to make it easier to do things like:
Scan and translate
Open document or image file and translate
Type and translate
Highlight text and translate
Interactive Translate Shell
For the first two items to work, you will need some extra packages installed such as tesseract-ocr, poppler-tools, and able to run “soffice --headless.” The video lists what you’ll need, and be sure to check out any links in the description. Also, note that file-paths blurred-out in my videos typically refers to my home folder. I take privacy very seriously.