Favourite CLI tool: translate-shell
I usually do not recommend proprietary platforms but unfortunately in the category of machine translation programs, there is no free (as in speech) alternative to proprietary platforms, such as Google's, Microsoft's, or DeepL's. Those who travel often but who are not skilful in several world's languages, the machine translation services represents something that improves their skills in finding their way in a foreign country.
$ wget git.io/trans $ chmod +x ./trans