mirror of https://github.com/CrimsonTome/tldr.git
24 lines
414 B
Markdown
24 lines
414 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 from a specific language:
|
||
|
|
||
|
`trans de:en {{handy}}`
|
||
|
|
||
|
- Use `trans` as a dictionary:
|
||
|
|
||
|
`trans -d handy`
|