A simple command-line translation tool written in Python that automatically detects the source language and translates text to the target language.
- 🌐 Automatic language detection - detects the source language automatically
- 🔄 Multi-language support - supports translation between multiple languages
- 🚀 Easy to use - simple command-line interface
- ⚡ Fast translation - quick response times
- Python 3.6 or higher
- pip (Python package manager)
pip install translate langdetectgit clone https://github.com/qventymr/shell-translator.git
cd shell-translator
mv main.py translatorchmod +x translatorsudo mv translator /usr/local/bin/mkdir -p ~/.local/bin
mv translator ~/.local/bin/
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrctranslator "Hello world" -l es