Forrest logo
tool overview
On this page you find all important commands for the CLI tool trans. If the command you are looking for is missing please ask our AI.

trans

Trans (or translate) is a command line tool that facilitates text translation from one language to another. It is designed to provide quick and efficient translation within the command line interface. Trans supports a wide range of languages, allowing users to translate text between various language pairs. The tool operates by making an API call to translation services such as Google Translate, Bing Translator, or Yandex.Translate. Users can specify the source language and target language using language codes. Trans can be integrated into scripts or other command line workflows, enabling automated translation tasks. It provides options for interactive translation, batch translation of files, or even translating text from the clipboard. The tool also offers features such as language auto-detection, pronunciation of translations, and transliteration of non-Latin scripts. Trans is an open-source project, often available for installation via package managers, making it easily accessible and customizable. Overall, trans simplifies the process of translating text directly from the command line, saving time and effort for users who frequently need to perform translations.

List of commands for trans:

  • trans:tldr:69669 trans: Translate a word into french.
    $ trans :${fr} ${word}
    try on your machine
    explain this command
  • trans:tldr:79a14 trans: Translate a word (language is detected automatically).
    $ trans "${word_or_sentence_to_translate}"
    try on your machine
    explain this command
  • trans:tldr:7f1b7 trans: Behave like a dictionary to get the meaning of a word.
    $ trans -d ${word}
    try on your machine
    explain this command
  • trans:tldr:87978 trans: Translate a word from German to English.
    $ trans ${de}:${en} ${Schmetterling}
    try on your machine
    explain this command
  • trans:tldr:a818f trans: Get a brief translation.
    $ trans --brief "${word_or_sentence_to_translate}"
    try on your machine
    explain this command
tool overview