I want to write a Script that picks a random English word from /usr/share/dict/words, translates it into German, display both of them for a certain amount of time and repeat the process. I only know the beginning part and do not know how to use a word to word translation in the shell:
watch -n5 sh -c 'cat /usr/share/dict/words | shuf -n1 | .....'