mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
24 lines
464 B
Markdown
24 lines
464 B
Markdown
# 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}}`
|