How can I change Google Maps language to Hindi in my app?
问题 I am using Google Maps in my Android app. I have implemented language localisation throughout my app. Therefore I want that whenever the user changes the app language Google Maps language also gets changed to Hindi. I tried the following method to change the language of Google Maps in my app. String languageToLoad = "hi"; Locale locale = new Locale(languageToLoad); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = locale; getResources().updateConfiguration