Android 如何更改Here地图上的标签语言?

Android 如何更改Here地图上的标签语言?,android,here-api,Android,Here Api,如官方网站所述: 当我更改手机上的语言设置时,应用程序中地图的语言不会更改。 我还尝试在onCreate设置中更改区域设置。我也没有成功 Locale locale = new Locale("ru_RU"); Locale.setDefault(locale); Configuration configuration = new Configuration(); configuration.locale = l

如官方网站所述: 当我更改手机上的语言设置时,应用程序中地图的语言不会更改。 我还尝试在onCreate设置中更改区域设置。我也没有成功

        Locale locale = new Locale("ru_RU");
        Locale.setDefault(locale);
        Configuration configuration = new Configuration();
        configuration.locale = locale;
        getBaseContext().getResources().updateConfiguration(configuration, getBaseContext().getResources().getDisplayMetrics());
我做错了什么?为什么语言没有改变


这将从4.1.6版开始使用 您需要在MapSceneFig中指定语言,并在加载地图场景时添加该语言

private void loadMapScene() {
MapSceneConfig mapSceneConfig = new MapSceneConfig();
mapSceneConfig.mainLanguageCode = LanguageCode.RU_RU;
mapSceneConfig.fallbackLanguageCode = LanguageCode.RU_RU;

mapView.getMapScene().loadScene(MapStyle.NORMAL_DAY, mapSceneConfig, new MapScene.LoadSceneCallback() {
    @Override
    public void onLoadScene(@Nullable MapScene.ErrorCode errorCode) {
        if (errorCode == null) {
            hereMap = new HereMap(MainActivity.this, mapView);
        } else {
            Log.d(TAG, "onLoadScene failed: " + errorCode.toString());
        }
    }
});

}

在区域设置中,请根据以下文档指定语言代码。欢迎使用StackOverflow,Roman。你能准确地说出你希望在俄罗斯地区出现的标签,以及在哪个位置出现的标签吗?也许会放一个屏幕截图?@herdevelopersupport谢谢你的帮助,但是我根据安卓网站上写的内容将语言代码添加到了区域设置中。如果这不正确,请纠正我。或者写一个链接,在那里你可以得到正确的语言code@MichaelP.Bazos谢谢你的热烈欢迎。我需要把地图翻译成俄语。即街道、地区和定居点的名称。附在问题描述后的屏幕截图颤振呢?