This package utilizes the functionality of translate-shell to translate texts into various languages using Espanso Open-Source Text-Expander.
Before using this package, make sure you have translate-shell installed on your system. If you don't, you can install it for your OS here. Make sure to install and use WSL when using Windows.
Once you have it installed, you can install this package using the following command:
espanso install quick-translate --git https://github.com/p0ly60n/quick-translate --external
espanso restart
After Installing, you can change the sourcelang
and targetlang
variables in defaultlang.yml to your desired default languages. You can find the valid names at the bottom of package.yml. Please note that if there's an update in the future, those files could be overwritten.
::trans
: Translates the selected text to the target language (default: English)::etrans
: Extended Translate - Translates the Text from a source language (default: German) to a target language (default: English)