CCExtractor / CCExtractor/taskwarrior-flutter

Follow System Locale with Optional Override

Đang mở
#604 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Dart
Star
244
Fork
179
Merge trung bình
12 giờ 42 phút
Pull request đã merge (30 ngày)
2

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách lần theo entry point hiện tại của việc localize app và màn hình Settings, sau đó kiểm tra cách các locale được hỗ trợ và Locale của thiết bị được xử lý. Hoàn thành khi app mặc định sử dụng ngôn ngữ hệ thống, fallback về tiếng Anh khi không được hỗ trợ và cho phép người dùng ghi đè lựa chọn đó từ Settings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
localization, mobile
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.