🇧🇮 A simple web app to help build the Ijwi ry'Ikirundi AI dataset. Translate Kirundi ➡️ French or French ➡️ Kirundi and add new sentences!
# 🇧🇮 Ijwi ry'Ikirundi AI: Contribution Hub
**A web application for collecting Kirundi language contributions to help build AI language models**
## 📖 Overview
The **Ijwi ry'Ikirundi AI Contribution Hub** helps crowdsource Kirundi language data for AI model training. Community members can contribute translations and sentence pairs to preserve and advance the Kirundi language.
### 🎯 Easy Level: Kirundi to French Translation
- Translate existing Kirundi phrases to French
- **AI-powered suggestions**: Get machine translation suggestions to approve or edit
- **Smart workflow**: Approve suggestions with one click or edit manually
- Live data from Hugging Face dataset
- Progress tracking with localStorage
- Downloads as `Kirundi_To_French.csv`
- **Report/correct Kirundi phrases:** Users can flag and suggest corrections for Kirundi sentences
- Error and completion messages are always mutually exclusive (never both visible)
- All error messages default to English
### 🔄 Medium Level: French to Kirundi Translation
- Translate French sentences to Kirundi
- Duplicate checking against existing database
- Downloads as `French_To_Kirundi.csv`
- Error and completion messages are always mutually exclusive
### ✍🏾 Hard Level: Add New Sentences
- Create original Kirundi-French sentence pairs
- Input validation (both fields required, minimum 4 words recommended)
- Duplicate checking: prevents submission of Kirundi sentences already in the database
**All levels include:**
- 🌙 **Dark mode toggle**: Switch between light and dark themes with smooth animations
- 🌐 **Language toggle button** (FR/EN) for all instructions and feedback
- ⌨️ **Keyboard shortcuts** (Ctrl+Enter to submit, Escape to skip)
- 📱 **Mobile-responsive design** with modern UI components
- 🎨 **Professional button designs** with gradients, shadows, and smooth transitions
- 💾 **Auto-save progress** to prevent data loss
## 🚀 Quick Start
### Option 1: Direct Use
1. Open `index.html` in your browser
2. Choos …