I have an app only in English language, but my phone's OS is in Spanish. I have added a
Picker to my page and if I tap it to change it's value, I see that cancel button text is in Spanish. I want to show this button in English. I'm using Xamarin.Forms because it's easier for me to develop with it, but I just need to know how I can make this change in Android. I tried this in
OnCreate() method in the
MainActivity, but it doen't work.
Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en"); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
The text of the button is still in Spanish. Do you know how can I change this text?