commands.sh

trans

all

Translate Shell, a command-line translator.

More info →

Options (2)

-bboolean

Get a brief translation

Example: trans {{[-b|-brief]}} "{{word_or_sentence_to_translate}}"
-dboolean

Behave like a dictionary to get the meaning of a word

Example: trans {{[-d|-dictionary]}} {{word}}

Examples (5)

Translate a word (language is detected automatically)

trans "word_or_sentence_to_translate"

Get a brief translation

trans [-b|-brief] "word_or_sentence_to_translate"

Translate a word into french

trans :fr word

Translate a word from German to English

trans de:en Schmetterling

Behave like a dictionary to get the meaning of a word

trans [-d|-dictionary] word
made by @shridhargupta | data from tldr-pages