Translate Shell is a command-line translator.

# To translate a word (language is detected automatically):
trans "word_or_sentence_to_translate"

# To get a brief translation:
trans --brief "word_or_sentence_to_translate"

# To translate a word into French:
trans :fr word

# To translate a word from German to English:
trans de:en Schmetterling

# To behave like a dictionary to get the meaning of a word:
trans -d word