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.
Anodev 31d3d53883 Set theme jekyll-theme-hacker 5 years ago
LICENSE Initial commit 6 years ago
README.md Update Readme.md 5 years ago
_config.yml Set theme jekyll-theme-hacker 5 years ago
translate.sh Add Script 6 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

  1. Clone repository via git clone https://github.com/OPHoperHPO/GT-bash-client
  2. Set permission via chmod +x ./GT-bash-client/translate.sh
  3. Check script via ./GT-bash-client/translate.sh en es Hello
  4. PROFIT!!1!