Files
flutter/lib/widgets/core
Pawel Haracz 822cedf9a4 feat(settings): add in-app language switcher
Adds a per-user language override in Settings that takes precedence over
the system locale, fixing #439. Selecting "System default" clears the
override and falls back to the existing localeListResolutionCallback.

Also declares CFBundleLocalizations in the iOS Info.plist so iOS 16+ users
get the native per-app language picker (Settings → wger → Language) as an
alternative entry point.

Implementation mirrors the existing themeMode flow on UserProvider, with
the selected locale persisted in SharedPreferences under PREFS_USER_LOCALE
and matched against AppLocalizations.supportedLocales on load to preserve
script-bearing locales (zh_Hant, pt_BR, ...).
2026-05-16 15:31:34 +02:00
..
2026-05-07 17:47:40 +02:00
2026-05-07 21:42:23 +02:00
2025-09-06 22:08:35 +02:00
2026-05-03 18:21:54 +02:00
2025-03-18 17:28:19 +01:00