Is there a way to display RegionInfo.DisplayName in the user's language?

infoMantisinfoMantis DEUniversity ✭✭

Hello,

currently I'm trying to display country names in the user's language. Unfortunately RegionInfo is not impressed by changing Thread.CurrentThread.CurrentCulture or Thread.CurrentThread.CurrentUICulture.
That is not surprising after reading the official documentation:

The DisplayName property displays the country/region name in the language of the localized version of .NET Framework.

So it depends on the installed .NET variant. My best guess is, that's always an english one with Xamarin.
Is there any way to override that behaviour or do I have to create my own translations?

Kind regards,
Boris

Answers

  • Nicolas77Nicolas77 CHMember ✭✭

    I have the same bug. Did you solve it?

  • infoMantisinfoMantis DEUniversity ✭✭

    Well, technically it's not a bug. But no, I didn't find a way around it.

Sign In or Register to comment.