Translate your text and .txt files in terminal using LibreTranslate API
Langauge auto-detected translate
cotripp [text] [output language]
Usage:
cotripp [text] [output language]
cotripp [text] [source language] [target language]
Translate files:
cotripp [--file || -f] [file] [output language]
cotripp [--file || -f] [file] [source language] [output language]
cotripp [--file || -f] [file] [output language] [output file]
cotripp [--file || -f] [file] [source language] [output language] [output file]
| Language | ISO 639 |
|---|---|
| Russian | ru |
| English | en |
| Arabic | ar |
| Chinese | zh |
| French | fr |
| German | de |
| Hindi | hi |
| Indonesian | id |
| Irish | ga |
| Italian | it |
| Japanese | ja |
| Korean | ko |
| Polish | pl |
| Portuguese | pt |
| Spanish | es |
| Turkish | tr |
| Vietnamese | vi |
libcurl:
sudo apt-get install -y libcurl4-openssl-dev
curl-config --libs
git clone https://github.com/C0DIC/cotripp
cd cotripp
make
make clean