Real-time, fully offline, privacy-friendly conversational translation ๐
- Fully local: No internet connection required ๐ถ
- Private & Secure: Your conversations never leave your device ๐
- Bidirectional: Natural translation between two speakers ๐ฅ
- Powerful: Models optimized for Intel and Apple Silicon Macs โก
- Intuitive: Elegant, conversation-centric interface ๐ฌ
Mac Local Translator allows you to translate conversations in real-time without relying on cloud services. The app uses advanced local models for speech recognition and translation, ensuring your privacy while delivering excellent performance.
flowchart LR
A[User speech A] -->|Microphone| B[Speech recognition]
B -->|Transcribed text| C[Translation]
C -->|Translated text| D[Text-to-speech]
D -->|Audio| E[User B hears]
E -->|Answers| F[Reverse cycle]
F -->|Microphone| B
- macOS 12.0 or newer
- 8 GB RAM minimum (16 GB recommended)
- 5 GB of available disk space
- Download the latest version from the releases page
- Mount the DMG file and drag the application into your Applications folder
- Launch the application
# Clone the repository
git clone https://github.com/nabz0r/mac-local-translator.git
cd mac-local-translator
# Install dependencies and download models
make download-models
# Build the application
make build
# Launch the application
make run
The application is built on a modular architecture for easy maintenance and extension.
releasesarchitecture_overviewpage
- Language Selection: Choose the source and target languages โโin the bar tools
- Start: Press the record button or use Cmd+Space
- Speak: Speak clearly into your microphone (the audio level indicator will help you)
- Listen: The translation will be displayed and pronounced automatically
- Reply: Your interlocutor can respond in their language and the cycle continues
- User interface: SwiftUI
- Speech recognition: Whisper.cpp (optimized version of OpenAI Whisper)
- Translation: Optimized LibreTranslate/Argos Translate models
- Text-to-speech: AVSpeechSynthesizer with quality voices
- ๐ซ๐ท French
- ๐ฌ๐ง English
- ๐ช๐ธ Spanish
- ๐ฉ๐ช German
- ๐ฎ๐น Italian
- ๐ต๐น Portuguese
More languages โโare under development. Check out the roadmap for more information.
We welcome:
- ๐ป Network Engineers
- ๐ Research Scientists
- ๐ Cloud Architects
- ๐ค AI/ML Specialists
- ๐ง Email: nabz0r@gmail.com
- ๐ GitHub: @nabz0r
MIT License - Innovation without Boundaries
- OpenAI Whisper for the speech recognition model
- LibreTranslate for the translation models