trans
Translate Shell is a command-line translator. More information: https://github.com/soimort/translate-shell.
-
Translate a word (language is detected automatically):
trans "{{word_or_sentence_to_translate}}"
-
Get a brief translation:
trans --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 {{word}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.