-2

enter image description hereAs Google-Map App in our phone shows the different languages as per region with English. I want to implement same in my app also. But i can not do this in android. can you please help me to get out of it.

Set Google Map language as Locale language

https://developers.google.com/maps/documentation/javascript/basics?csw=1#Localization

https://developers.google.com/maps/documentation/javascript/localization

Er.nishka
  • 179
  • 1
  • 11

1 Answers1

2

Please check this link What is the list of supported languages/locales on Android? for supported language.
& you can do this by simply changing the Locale of your application like this in your Splash or where you loading the maps.

String languageToLoad = "ar"; 
    Locale locale = new Locale(languageToLoad);
    Locale.setDefault(locale);
    Configuration config = new Configuration();
    config.locale = locale;
    getBaseContext().getResources().updateConfiguration(config,
            getBaseContext().getResources().getDisplayMetrics());

Hope this may help you.

Abhinav Suman
  • 940
  • 1
  • 9
  • 29