Logo Lanfrica

andersonchale/swahili-subtitle-translator

Domain:

natural language processingdigital infrastructure

Record type:

softwaretools
Creator:
and
Host:
Swahili Subtitle Translator # 🎬 Swahili Subtitle Translator A professional, open-source tool for translating subtitle files from English to Swahili. Perfect for content creators, translators, and media enthusiasts who want to make English content accessible to Swahili speakers. ## ✨ Features - **🌍 Multiple Translation Services**: Google Translate and MyMemory support with automatic fallback - **πŸ“ Multiple Subtitle Formats**: SRT, ASS/SSA, VTT, and SUB format support - **⚑ Smart Caching**: SQLite-based translation cache to reduce API calls and improve speed - **πŸ”„ Batch Processing**: Translate entire directories of subtitle files - **🎯 Cultural Adaptation**: Built-in Swahili cultural context and common phrase translations - **πŸ›‘οΈ Robust Error Handling**: Automatic retry mechanism and graceful failure handling - **πŸ“Š Progress Tracking**: Real-time progress bars and detailed statistics - **🎨 Beautiful CLI**: Colorized command-line interface with professional output - **πŸ”§ Highly Configurable**: Extensive customization options and settings ## πŸš€ Quick Start ### Method 1: Global Installation (Recommended) **🎯 One-Command Installation:** ```bash # Clone the repository git clone github.com cd swahili-subtitle-translator # Run the automated installation script chmod +x install_global.sh ./install_global.sh ``` This script will: - Detect your operating system (Linux/macOS/Windows Git Bash) - Offer installation options (system-wide, user, virtual environment, or pipx) - Handle modern Python restrictions (PEP 668 externally-managed environments) - Make `sst` and `swahili-sub-translate` commands globally available - Test the installation automatically **🌐 Manual Global Installation:** ```bash # Method A: pipx (recommended for modern Python - handles PEP 668) sudo apt install pipx # Ubuntu/Debian # brew install pipx # macOS pipx install /path/to/swahili-subtitle-translator # Method B: User installation (no admin rights needed) pip3 install …