Get translated text from your terminal!
This script translate your text.
Script will parse your source language and target language + your text, then Script send this information to Google Translate Api and get translated text.
Multi-line text input supported.
./translate.sh <source_lng> <new_lng> <your text>
If you do not know the source language, then put the valueauto
in place of<source_lng>
- Clone repository via
git clone https://github.com/OPHoperHPO/GT-bash-client
- Check script via
./GT-bash-client/translate.sh en es Hello
This bash script is combine of this scripts:
JSON.sh
Gist #1
Gist #2
You can thank me for developing any of my projects, provide financial support for developing new projects and buy me a small cup of coffee.☕
Just support me on these platforms: