Forum Xamarin.Android

Changing language doesn't reflect change in Thread.CurrentThread.CurrentUICulture

After changing Language from Settings > Language and input, the change does not effect the following properties unless the app is restarted:
Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName
RegionInfo.CurrentRegion.TwoLetterISORegionName

Is this by design or should it reflect the new change even without an app restart?

Answers

  • AllanChin.6924AllanChin.6924 USUniversity ✭✭✭

    On Mono, RegionInfo.CurrentRegion does not reflect the setting in Preferences through neither an app restart nor a reboot. I always get US. I can get IT only if I set the language to Italian and the region to Italy.

    Anybody know how to get the region setting in Preferences, independent of the language?

Sign In or Register to comment.