# Kalenjin AI Translator
A Flutter application for translating English text to Kalenjin language.
Developed by **Boniface Kiprop Tarus**.
## Features
- English to Kalenjin translation
- User authentication (login/register) - works offline or with server
- CAPTCHA verification on login (simple math: addition/subtraction)
- Text-to-speech for Kalenjin pronunciation (speaker icon on translations)
- Dark mode toggle (in menu)
- Translation history
- Favorites
- Admin panel for managing users and dictionary
## How to Use
### Login
When you open the app for the first time, use these default credentials to login:
- **Email:** `kipropboniface@gmail.com`
- **Password:** `1234`
You will also need to answer a simple math CAPTCHA (e.g., "5 + 3 = ?") to verify you're human.
### Create Account
- Enter username, email, and password
- If server is unavailable, account is saved locally on your device
- Next time, login with your created credentials
### Translation
1. Type English text in the chat input at the bottom
2. Select **Translate** mode (default) to translate to Kalenjin
3. The translated text will appear in the chat as a Kalenjin response
### Boys Names
1. Select **Name** mode from the options
2. Type a Kalenjin boy's name (e.g., Kiprop, Kiprono, Chebet)
3. Get the meaning of the name
### Clans
1. Select **Clan** mode from the options
2. Type a clan name (e.g., Kipkut, Kipkarren, Kipngus)
3. Get the totem and meaning of the clan
### Additional Features
- Tap the menu icon in the top-right for History, Favorites, and more options
- Use the Settings (gear) icon on the login screen to configure the server URL
- **Copy translations:** Tap the copy icon (📋) to copy Kalenjin text to clipboard
- **Listen to pronunciation:** Tap the speaker icon (🔊) to hear Kalenjin text spoken aloud
- **Add to favorites:** Tap the heart icon (♡) to save translations to favorites
- **Clear chat:** Tap the clear icon (🧹) in the app bar to reset the conversation
- **Clear history:** Use t …