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