Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Localize HockeyApp

Hi,
I’m trying to localize the feedback form for HockeyApp. On iOS, this works out of the box, but not on Android. Doing some research, I stumble upon this post http://support.hockeyapp.net/discussions/problems/37633-how-to-localize-all-strings-through-new-localemanager I tried to implement it in Xamarin, but my translation files are ignored (to be sure, I added a prefix to each string of the English version).
This is what I tried:
-Created a stringx.xml file in folder values and values-fr (also tried Strings.xml because of the Xamarin doc https://developer.xamarin.com/guides/android/advanced_topics/localization/).

-I added this line in MainActivity.cs:
LocaleManager.Initialize(Application.Context);

-I tried to add the line in OnCreate() and right before I load the feedback form, but nothing seem to happen.

-I also added ConfigurationChanges = ConfigChanges.Locale to the [Activity(…)]

Any idea what’s missing or what I’m doing wrong?

Thanks for the help!

Sign In or Register to comment.