Files
flutter/lib/widgets
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 21:30:36 +02:00
2026-05-07 21:42:23 +02:00
2025-11-18 16:30:52 +01:00
2026-05-07 17:38:23 +02:00
2026-05-07 21:42:23 +02:00
2026-05-07 21:42:23 +02:00
2026-01-16 17:33:28 +01:00
2025-03-18 17:28:19 +01:00