Reputation: 197
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
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
Reputation: 225
You can create your request like this:
Pass your language like "en" for English
Upvotes: 0