Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Mono: RegionInfo.NativeName returns not really the native name but the english name

$
0
0

Hi,

since the mono project will be maintained through Xamarin here is a question about localization: We are using following code to get the native name of a country.

var cultureInf = new CultureInfo("de-DE"); var reg = new RegionInfo(cultureInf.Name); return reg.NativeName; // this should return "Deutschland" - actually it returns "Germany"

As you can read in the code the result is "Germany" instead of "Deutschland". Can anyone explain why? Is this a bug in mono or do we handle it wrong?

Best regards Michael


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>