Created
August 6, 2017 23:39
-
-
Save programmation/96dd2f27740bb93a1cf31ac69335ab6d to your computer and use it in GitHub Desktop.
Configure Xamarin app to use device culture
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://forums.xamarin.com/discussion/100540/set-default-culture-to-culture-of-device | |
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(CultureInfo.CurrentUICulture.ToString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment