Update README.md
parent
5fb2491cf0
commit
f8959489d9
@ -1,16 +1,17 @@
|
||||
# Google Translate bash client
|
||||
`Get translated text from your terminal!`
|
||||
### Description
|
||||
## 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.
|
||||
### Note:
|
||||
This bash script is combine of this scripts
|
||||
[Link](https://gist.github.com/elFua/3342075) and [Link](https://gist.github.com/ayubmalik/149e2c7f28104f61cc1c862fe9834793) \
|
||||
They **aren't** work!
|
||||
### Instructions
|
||||
### Instructions:
|
||||
- **[Instruction for adding script as program in GoldenDict](https://github.com/OPHoperHPO/GT-bash-client/issues/3)**
|
||||
### 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>`
|
||||
- `./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`
|
||||
- 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`
|
||||
|
Loading…
Reference in New Issue