CLI-Translate is a powerful multilingual text translation console utility developed in Python. This program provides a fast and reliable way to translate words, phrases, and even whole sentences into different languages.
- Fast and reliable - it uses the same servers that translate.google.com uses
- Author's translation into paired language. Those. there is language 1 and there is language 2, when the program receives language 1, it immediately translates it into language 2, and when it receives language 2, it translates it into language 1.
- The translation is placed on the clipboard.
- The maximum character limit on a single text is 15k.
- Due to limitations of the web version of google translate, this API does not guarantee that the library would work properly at all times.
- Important: If you want to use a stable API, I highly recommend you to use Google's official translate API.
- If you get HTTP 5xx error or errors like #6, it's probably because Google has banned your client IP address.
Clone the repository, install all requirements and run the file run.py
.
The Python
interpreter version 3.11+ and preferably poetry
Install requirements with poetry
:
poetry install
Clone this repository and navigate to it with the command:
git clone https://github.com/Qu1nel/CLI-Translate.git
cd CLI-Translate/
python run.py
python3 run.py
For full help with make commands, you can use the command:
make help
Forcibly translate into the selected language.