--- title: LocaleNLP Translator emoji: ⚑ colorFrom: red colorTo: green sdk: gradio sdk_version: 5.44.1 app_file: app.py pinned: false license: apache-2.0 --- **LocaleNLP Translation Service** Break language barriers with our advanced multilingual translation tool supporting English, Wolof, Hausa, and Darija. **Key Features Universal Translation** Translate between any supported language pair (English, Wolof, Hausa, Darija) No complex setup β€” just select your languages and translate **Multiple Input Methods** Text input: Type or paste your content directly Audio transcription: Upload English audio files for automatic transcription and translation into any supported language Document processing: Upload PDF, DOCX, HTML, Markdown, SRT, and TXT files **Supported Languages** πŸ‡¬πŸ‡§ English β€” Global lingua franca πŸ‡ΈπŸ‡³ Wolof β€” Major language of Senegal and Gambia πŸ‡³πŸ‡¬ Hausa β€” Widely spoken across West Africa πŸ‡²πŸ‡¦ Darija β€” Moroccan Arabic dialect **Supported File Formats** Documents: PDF, DOCX (Word) Web: HTML, Markdown Media: SRT (subtitles) Text: TXT and plain text files Audio: WAV, MP3, M4A (English audio only) **How to Use** Select input type: Choose between Text, Audio, or File Choose languages: Set your input and output languages Provide content: Enter text, upload English audio, or upload a document Translate: Click Process & Translate to get instant results **Use Cases** Education: Translate learning materials across languages Business: Communicate with multilingual customers Research: Process documents in different languages Content creation: Translate blog posts, articles, and social media Accessibility: Make content available to wider audiences **Important Notes** Audio input limitation: Only English audio files can be processed for transcription Text and document translation: Full support for all language combinations **Technical Details** Powered by Hugging Face Transformers and MarianMT models Automatic language detection for text processing Whisper ASR for high-quality English audio transcription Enterprise-grade architecture with robust error handling **Privacy-focused: Processing happens in real-time, no data storage** Built with ❀️ by LocaleNLP β€” Advancing multilingual AI for African languages Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference