-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This bug was caught by @CatHood0.
Currently, the app defaults to the first supported language if the system language is not supported by the app and the user preference in the app's settings is to match the system language. Refer to the Flutter docs of locale property for more details.
The first supported language can be any language from the AppLanguage.
Expected behavior
English is more widely known and used, so the user is very likely to be familiar with English rather than a random language in the AppLanguage enum.
Steps to reproduce
- Set your system language to a language that's not supported by the app (e.g., Spanish).
- Run the app, navigate to the "Settings", and ensure the "App Language" is set to "System".
Fix
We need to provide either localeListResolutionCallback or localeResolutionCallback in the MaterialApp specifically in the main.dart file.
CatHood0
Metadata
Metadata
Assignees
Labels
No labels