mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
trans: add page (#1590)
This commit is contained in:
commit
1387b02a69
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 a word from German to English:
|
||||||
|
|
||||||
|
`trans {{de}}:{{en}} {{Schmetterling}}`
|
||||||
|
|
||||||
|
- Behave like a dictionary to get the meaning of a word:
|
||||||
|
|
||||||
|
`trans -d {{word}}`
|
Loading…
Add table
Reference in a new issue