From 9a166ce98ab93e218914f9b60e87cb4a03ecf792 Mon Sep 17 00:00:00 2001 From: AnimiVulpis Date: Fri, 27 Oct 2017 16:53:15 +0200 Subject: [PATCH] trans: add page --- pages/common/trans.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/trans.md diff --git a/pages/common/trans.md b/pages/common/trans.md new file mode 100644 index 000000000..644e0849b --- /dev/null +++ b/pages/common/trans.md @@ -0,0 +1,23 @@ +# trans + +> **Translate Shell** is a command-line translator. + +- 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 from a specific language: + +`trans de:en {{handy}}` + +- Use `trans` as a dictionary: + +`trans -d handy`