xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.53k stars 505 forks source link

[Enhancement] Get Address in specific Language (Arabic, French , ..etc) using Geolocation #1164

Open amr-moomen opened 4 years ago

amr-moomen commented 4 years ago

Summary

I am using Geolocation to get current address. It gives me address properly, but in default Mobile language. I want to determine the language of returned address as parameter like Geolocation("Ar") return the address in Arabic regardless of default Mobile language.

API Changes

Add AddressLanguage parameter to GetPlacemarksAsync like var Address =await Geocoding.GetPlacemarksAsync(Latitude , Longitude , AddressLanguage);

return the Address regarding AddressLanguage

Intended Use Case

Assume the default Mobile language is English Geocoding.GetPlacemarksAsync(Latitude , Longitude , "Ar") return the address in Arabic Geocoding.GetPlacemarksAsync(Latitude , Longitude , "Fr") return the address in French

mina5500 commented 4 years ago

Is it going to be implemented ?? @jamesmontemagno

jamesmontemagno commented 4 years ago

Research needs to be done to see what the APIs accept under the hood, but we do accepts PRs :)

1897 commented 7 months ago

hello, are there any news on this enhancement?