Mgolo's picture
Update README.md
b79d135 verified

A newer version of the Gradio SDK is available: 5.49.1

Upgrade
metadata
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