AOSSIE-Org / AOSSIE-Org/Resonate

Complete Missing Translations in Localization Files

Aperta
#688 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
344
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### ๐Ÿ“Œ 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non รจ ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.