fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
223 stars 364 forks source link

the _buildSelectionDetails() returns always the name of picked place in English #13

Closed AITechNassim closed 4 years ago

AITechNassim commented 4 years ago

Hi @fysoul17 First, thanks for your time to develop this package. I really appreciate.

When I select a place in the autocomplete, the function _buildSelectionDetails() always return the name of the place in English. Even if the place in the autocomplete shows in a language different from English. However, the place is still the same.

This picture shows the search result.

This picture shows the results after selecting an item from the autocomplete

I tried to find a solution but couldn't do it.

fysoul17 commented 4 years ago

Hi @AITechNassim

Please Update to version 0.7.1 and try with the attribute 'autocompleteLanguage'. Language codes are here.

AITechNassim commented 4 years ago

@fysoul17 . It works perfectly. Thanks a lot for the enhancement.