An open API service indexing awesome lists of open source software.

https://github.com/ophoperhpo/gt-bash-client

πŸ§‡ Get translated text from your terminal! Console Google Translate Script (bash+curl) πŸ§‡
https://github.com/ophoperhpo/gt-bash-client

bash client curl google-translate script sed

Last synced: 6 months ago
JSON representation

πŸ§‡ Get translated text from your terminal! Console Google Translate Script (bash+curl) πŸ§‡

Awesome Lists containing this project

README

          

# πŸ§‡Google Translate bash clientπŸ§‡
__Get translated text from your terminal!__
### πŸ“„ How it work?
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.__
****************************************
### πŸ“™ Instructions:
- **[Instruction for adding script as program in GoldenDict](https://github.com/OPHoperHPO/GT-bash-client/issues/3)**
****************************************
### 🧰 Usage:
- `./translate.sh ` \
If you do not know the source language, then put the value `auto` in place of ` `
****************************************
### 🏷 Install
- Clone repository via `git clone https://github.com/OPHoperHPO/GT-bash-client`
- Check script via `./GT-bash-client/translate.sh en es Hello`
****************************************
### 🧷 Note:
This bash script is combine of this scripts: \
[JSON.sh](https://github.com/dominictarr/JSON.sh) \
[Gist #1](https://gist.github.com/elFua/3342075) \
[Gist #2](https://gist.github.com/ayubmalik/149e2c7f28104f61cc1c862fe9834793)
****************************************
### πŸ’΅ Support me:
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:
* ![](https://github.com/OPHoperHPO/OPHoperHPO/raw/master/assets/imgs/boosty_logo.jpeg) [**Boosty**](https://boosty.to/anodev)
* ![](https://github.com/OPHoperHPO/OPHoperHPO/raw/master/assets/imgs/donationalerts_logo.png) [**DonationAlerts**](https://www.donationalerts.com/r/anodev_development)
* ![](https://github.com/OPHoperHPO/OPHoperHPO/raw/master/assets/imgs/paypal_logo.jpg) [**PayPal**](https://paypal.me/anodevru)