/onscreen-translate

translate anything you have on your screen

Primary LanguagePython

onscreen-translate

demo.webm

Provides a translation for a given box of your screen.

Linux

Install:

git clone https://github.com/l4l/onscreen-translate.git && cd onscreen-translate
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

and then run:

# on Wayland:
python main.py --box `slurp -f '%x %y %w %h'` --src de --dest es

# or on X.org:
python main.py --box `slop -f '%x %y %w %h'` --src de --dest es