AOSSIE-Org / AOSSIE-Org/Resonate

Complete Missing Translations in Localization Files

Abierto
#688 6 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
344
Forks
350
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 📌 Overview

Several strings in Gujarati (`gu`), Kannada (`kn`), and Marathi (`mr`) localization files remain untranslated and are still in English, affecting user experience for non-English speaking users in India.

> **Status:** 60+ untranslated strings across 3 languages |
---

### 📊 Translation Status

| Language | Missing Strings | Priority |
|----------|-----------------|----------|
| 🇮🇳 Hindi (hi) | ✅ 0 | Complete |
| 🇮🇳 Gujarati (gu) | 🔴 31 | High |
| 🇮🇳 Kannada (kn) | 🟡 15 | Medium |
| 🇮🇳 Marathi (mr) | 🟡 15 | Medium |

---

### 💻 Code Evidence

**Marathi Example:**
```dart
// lib/l10n/app_localizations_mr.dart
String get searchRooms => 'Search rooms...'; // ❌ Not translated
String get failedToRemoveRoom => 'Failed to remove room'; // ❌ Not translated

**kannada Example:**
// lib/l10n/app_localizations_kn.dart
String get searchRooms => 'Search rooms...'; // ❌ Not translated
String get searchFailed => 'Failed to search rooms. Please try again.'; // ❌ Not translated

**Gujarati Example (Most Critical - 31 strings):**
// lib/l10n/app_localizations_gu.dart
String get appPreferences => 'App Preferences'; // ❌ Not translated
String get transcriptionModel => 'Transcription Model'; // ❌ Not translated
String get searchRooms => 'Search rooms...'; // ❌ Not translated

📋 Untranslated Strings by Category
🔎 Room Search (9 strings): searchRooms, searchFailed, searchRoomsError, searchUpcomingRoomsError, searchingRooms, searchError, clearSearch, search, clear

🗑️ Room Management (6 strings): hide, removeRoom, removeRoomFromList, removeRoomConfirmation, failedToRemoveRoom, roomRemovedSuccessfully

🎙️ Whisper AI Transcription (16 strings - Gujarati only): appPreferences, transcriptionModel, transcriptionModelDescription, whisperModelTiny, whisperModelTinyDescription, whisperModelBase, whisperModelBaseDescription, whisperModelSmall, whisperModelSmallDescription, whisperModelMedium, whisperModelMediumDescription, whisperModelLargeV1, whisperModelLargeV1Description, whisperModelLargeV2, whisperModelLargeV2Description, modelDownloadInfo

Full list available in: [untranslated.txt](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)

📁 Affected Files
lib/l10n/
├── app_localizations_hi.dart ✅ Hindi (Complete - use as reference)
├── app_localizations_gu.dart 🔴 Gujarati (31 missing)
├── app_localizations_kn.dart 🟡 Kannada (15 missing)
└── app_localizations_mr.dart 🟡 Marathi (15 missing)
🚀 How to Contribute
Step 1: Comment which language you can translate
I'd like to work on [Gujarati/Kannada/Marathi] translations!

Step 2: Fork, clone, and create branch
git clone https://github.com/[your-username]/Resonate.git
cd Resonate
git checkout -b feat/i18n-gujarati-translations

Step 3: Edit ARB file and regenerate
# Edit: lib/l10n/app_gu.arb (or app_kn.arb / app_mr.arb)
# Then regenerate:
flutter gen-l10n

Step 4: Test your translations
flutter run -d chrome --dart-define=FLUTTER_LOCALE=gu # or kn/mr
# Check for text overflow and proper rendering
Step 5: Submit PR

✅ Translation Guidelines
DO:

✅ Use Hindi translations ([app_localizations_hi.dart](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)) as reference
✅ Maintain consistent terminology across strings
✅ Test translations in actual app UI
✅ Keep technical terms unchanged (MB, GB, "Whisper")
DON'T:

❌ Use Google Translate blindly
❌ Translate brand names ("Resonate")
❌ Modify string keys or function names
🎯 Acceptance Criteria
All strings from [untranslated.txt](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) translated for target language
App UI displays correctly (no overflow, proper alignment)
Translations reviewed by native speaker
[untranslated.txt](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) updated
PR passes CI/CD checks
📚 Resources
Reference: [app_localizations_hi.dart](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html) (Hindi - completed)
English Source: lib/l10n/app_localizations_en.dart
Translation Guide: TRANSLATIONS.md
Untranslated List: [untranslated.txt](vscode-file://vscode-app/c:/Users/miet/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)
🏆 Impact
User Reach: 300M+ speakers across Gujarat, Karnataka, Maharashtra
Expected Impact: 40-60% increase in regional user retention
Recognition: Contributors listed in CONTRIBUTORS.md and release notes

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.