Press space to begin translation. Type in the word you want to translate.
Credits to @asdfghjcgh for parts of the code.