mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-20 07:15:51 +02:00
trans: add page
This commit is contained in:
parent
aa405d2f20
commit
9a166ce98a
1 changed files with 23 additions and 0 deletions
23
pages/common/trans.md
Normal file
23
pages/common/trans.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue