A simple console translator written in Python. Translate text between Russian and English languages right in your terminal!
Console Translator is a simple program for translating text directly from the command line. It uses the deep_translator library, which connects to Google Translate for high-quality translations.
- 🔄 Two directions — Russian → English and English → Russian
- 🚀 Instant translation — Fast response from Google Translate
- 📦 Minimalism — Simple interface without unnecessary features
- 🛡️ Reliability — Error handling during translation
- 🔌 No API keys required — Works out of the box
- Run the program
- Select translation direction (1 or 2)
- Enter text to translate
- Get the translation
- Click the green "Code" button on this page
- Select "Download ZIP"
- Extract the archive
- Install dependencies:
pip install -r requirements.txt - Run the program:
python translator.py
git clone https://github.com/FelineFantasy/translator.git
cd translator
pip install -r requirements.txt
python translator.pySelect translation direction:
1. Russian → English
2. English → Russian
> 1
Enter text: Привет, мир!
Translation: Hello, world!
translator/
├── translator.py # Main program file
├── requirements.txt # Dependencies
└── README.md # Documentation
- Python 3.x
- deep_translator
- Add support for more languages
- Translation history
- Save translations to file
FelineFantasy
License: MIT