You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
08d11e0306
Issue id: #1 - Name: Fix input text encoding issue - Description: Cyrillic character encoding problem - URL: https://github.com/OPHoperHPO/GT-bash-client/issues/1 - Status: FIXED |
5 years ago | |
---|---|---|
LICENSE | 6 years ago | |
README.md | 5 years ago | |
_config.yml | 5 years ago | |
translate.sh | 5 years ago |
README.md
Google Translate BASH client
Get Translate text from your terminal! Console Google Translate Script (bash+curl+sed) This bash script is combine of this scripts https://gist.github.com/elFua/3342075 and https://gist.github.com/ayubmalik/149e2c7f28104f61cc1c862fe9834793 They aren't work!
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!
Usage:
./translate.sh <source_lng> <new_lng> <your text>
Install
- Clone repository via
git clone https://github.com/OPHoperHPO/GT-bash-client
- Set permission via
chmod +x ./GT-bash-client/translate.sh
- Check script via
./GT-bash-client/translate.sh en es Hello
- PROFIT!!1!