Ruthwik Warrier
Ruthwik Warrier

Reputation: 197

Android - Google Places API auto complete sdk, How get results in only English?

I am using Google Maps Places autocomplete SDK in my app. Instead of using the default fragment implementation I am using a custom autocomplete implementation. It works fine, but the issue is that I'm getting search results in regional languages. For example when i search Mumbai, the results I'm getting is in Hindi. How can I change default language to English.?

Upvotes: 1

Views: 1583

Answers (2)

JaviCasa
JaviCasa

Reputation: 738

The Places.initialize(Context, API_Key, Locale) call that you probably have on your Application class has a third parameter to set the results locale, where you could for example write Locale.US to have them all in English.

Upvotes: 2

Related Questions