Skip to content

🧇 Get translated text from your terminal! Console Google Translate Script (bash+curl) 🧇

License

Notifications You must be signed in to change notification settings

OPHoperHPO/GT-bash-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧇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:


🧰 Usage:

  • ./translate.sh <source_lng> <new_lng> <your text>
    If you do not know the source language, then put the value auto in place of <source_lng>

🏷 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
Gist #1
Gist #2


💵 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: