如何改变谷歌地图V2语言Android应用语言、地图、Android

2023-09-06 03:34:43 作者:一川明月疏星

而在Android的应用程序中使用如何可以改变的谷歌地图V2语言印地文或其他语言。

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.

我试图改变我的手机的语言印地文在设备那么谷歌地图应用程序开始出现在英文里印地文文本,但在我的Andr​​oid应用程序的地图上仍然显示的文本完全。

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.

更新: 我能够用语言codeJA和KO改变谷歌地图V2语言到日本和韩国,如下,

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"));

但不是仍然能够使用(喜或hi_IN或喜或HI-RIN),它切换到印地文。是否有任何其他语言code的印地文在Android的?

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?

推荐答案

它看起来像谷歌地图Android版是不是在印地文用,直到今年夏天(read这里),因此,如果您使用的是过时的版本谷歌地图的你首先应该更新它。

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.