地図の場所を返す簡単な方法を使用していますが、その住所を英語でのみ取得したいと考えています。
public static async Task<MapLocation> ResolveLocationForGeopoint(Geopoint geopoint)
{
MapLocationFinderResult result = await MapLocationFinder.FindLocationsAtAsync(geopoint);
if (result.Status == MapLocationFinderStatus.Success)
{
if (result.Locations.Count != 0)
// Check if the result is really valid
if (result.Locations[0].Address.Town != "")
return result.Locations[0];
}
return null;
}
私の問題は次のとおりです。私の Windows 言語がロシア語の場合、キリル文字が返されます。
アプリケーション言語をオーバーライドしようとしました:
ApplicationLanguages.PrimaryLanguageOverride = "en";
しかし、それはうまくいかないようです...
このメソッドからローカライズされた文字列を取得するにはどうすればよいですか?