CCExtractor / CCExtractor/taskwarrior-flutter

Follow System Locale with Optional Override

Aperta
#604 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Dart
Stelle
244
Fork
179
Merge medio
12h 42m
PR unite (30g)
2

Descrizione

### Describe your improvement idea or feature request

Allow the Taskwarrior Flutter app to automatically follow the device system language by default, with an optional toggle in Settings to manually override the language.
---

## Problem

Currently, the app does not automatically follow the device's system locale.

Most modern mobile applications:
- Use the system language by default
- Allow users to manually override it in settings

Without this behavior:
- The app may not feel native
- International users may experience friction
- Localization support is limited in usability

### How would you like to see it implemented?

## Proposed Solution

### 1. Follow System Locale by Default

If no language is manually selected:
- The app should use the device `Locale`
- If the locale is unsupported, fallback to English

Example:
- Device language: `pa` (Punjabi) → App uses Punjabi (if supported)
- Unsupported language → Fallback to English

---

### 2. Add “Follow System Language” Toggle

In Settings:

### Put here any screenshots or videos (optional)

_No response_

### How can we contact you (optional)

_No response_

### Would you like to work on this issue?

Yes

### By submitting this issue, I have confirmed that:

- [x] I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.

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.