Open
Description
There seems to be something off with how iOS determines the language-region combination in preferredLanguages
. If you select Germany region, you can choose
English (US)
: this will result in behavior where the region is incorrectly set to US even though iPhone region is still Germany.
2025-03-17 14:16:09.229227+0000 net9_maui[13431:5122872] CultureInfo.CurrentCulture: en-US
2025-03-17 14:16:09.229416+0000 net9_maui[13431:5122872] CultureInfo.CurrentUICulture: en-US
2025-03-17 14:16:09.229760+0000 net9_maui[13431:5122872] CultureInfo.CurrentUICulture.DisplayName: English (United States)
2025-03-17 14:16:09.231533+0000 net9_maui[13431:5122872] RegionInfo.CurrentRegion.CurrencyEnglishName: US Dollar
2025-03-17 14:16:09.231593+0000 net9_maui[13431:5122872] RegionInfo.CurrentRegion.ISOCurrencySymbol: USD
2025-03-17 14:16:09.231654+0000 net9_maui[13431:5122872] RegionInfo.CurrentRegion.CurrencyNativeName: US Dollar
2025-03-17 14:16:09.231694+0000 net9_maui[13431:5122872] RegionInfo.CurrentRegion.CurrencySymbol: $
2025-03-17 14:16:09.231771+0000 net9_maui[13431:5122872] CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol: $

English (UK)
: this will result in correct behavior, i.e., German regional info and English as a language.
2025-03-17 14:13:56.740872+0000 net9_maui[10392:5103515] CultureInfo.CurrentCulture: en-DE
2025-03-17 14:13:56.741067+0000 net9_maui[10392:5103515] CultureInfo.CurrentUICulture: en-DE
2025-03-17 14:13:56.741291+0000 net9_maui[10392:5103515] CultureInfo.CurrentUICulture.DisplayName: English (Germany)
2025-03-17 14:13:56.743050+0000 net9_maui[10392:5103515] RegionInfo.CurrentRegion.CurrencyEnglishName: Euro
2025-03-17 14:13:56.743108+0000 net9_maui[10392:5103515] RegionInfo.CurrentRegion.ISOCurrencySymbol: EUR
2025-03-17 14:13:56.743168+0000 net9_maui[10392:5103515] RegionInfo.CurrentRegion.CurrencyNativeName: Euro
2025-03-17 14:13:56.743215+0000 net9_maui[10392:5103515] RegionInfo.CurrentRegion.CurrencySymbol: €
2025-03-17 14:13:56.743277+0000 net9_maui[10392:5103515] CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol: €
We should always return regional information for Germany as the iPhone region is set that way.