How could change language of Google Map V2 to Hindi or other language while using within Android app.
There are some queries on this but unable to get proper answer.
I have tried to change language of my phone to Hindi then Google map app in device started showing text in Hindi but the map in my android app is still showing text in English completely.
Update: I am able to change language of Google Map V2 to Japan and Korea using language code "ja" and "ko" as below,
Locale.setDefault(new Locale("ja"));
But not still able to change it to Hindi by using ("hi" or "hi_IN" or "hi-IN" or "hi-rIN"). Is there any other language code for Hindi in Android?
It looks like Google Maps for Android was not available in Hindi until this summer (read here), so if you are using an outdated version of google maps you should update it first.
Once updated, you may change locale just like any other language.
You are welcome to try Locale.setDefault(new Locale("hi", "IN"));
per this answer.
However, please bear in mind that Google Maps data comes from another process, not yours, and you have no means of changing the Locale
of another process. Your technique may not work for all languages and may not work in future versions of Google Play Services.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With