Skip to main content

Useful translation tool for console. With features: translate text from clipboard and store translation logs

Project description

Console Translator


pip3 install cli_translate --user


  • Quick translation for text in clipboard

  • Ability for replace text in clipboard with translation

  • Ability for output with notify-send (useful with hotkey binding)

  • Store all translated texts in sqlite database

  • Google or Yandex translation clients

Configure Yandex Api key

The usage yandex translator require following steps

Usage Examples

  • itrans -to es Clipboard text will be translated

  • itrans -to fr "Some text" "Some text" will be translated

  • itrans -to en -i Interactive text input mode

  • itrans -to en -p Clipboard text will be translated and replaced with translation

  • itrans --help See All available options

Tips and Tricks

  • register bash/zsh aliases with most useful options; example `alias et="itrans -to en -p -o -c yandex"

  • save translation to file itrans [options] > file.txt

  • translate text from file itrans [options] "$(cat /path/to_file.txt)"

  • pipe result to another itrans --raw "Hello World"|cowsay


This utility is for personal use, not automated translations.

The volume of translated text lenght is limited per-request





Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cli-translate, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size cli_translate-0.0.5-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cli_translate-0.0.5.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page