If site provide multilingual support we need to display map in different languages, but by default in module Geofield map language is English.
In the official documentation written: to display a Maps API application in Japanese, add &language=ja to the

tag as shown below https://developers.google.com/maps/documentation/javascript/basics#Localization I think you need to implement this logic for including google map library.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sanchiz’s picture

Status: Active » Needs review
FileSize
1.11 KB

Initial patch.

miax’s picture

I was not able to get this to work with the initial patch. The map is still only in english.
I modified the patch a bit and added the language part to the google_map_plugin_style_map.inc file.
Then it started to work better for me with other languages than english.
Attached is the patch.

kopeboy’s picture

Will this be included in a stable release?

BlacKICEUA’s picture

Working on version 7.x-2.3. Thanks for patch.

BlacKICEUA’s picture

Version: 7.x-2.0 » 7.x-2.3
Dr.Osd’s picture

Both patch work on 7.x-2.3
But have one issue. City names looks in two language on english site version 1) EN 2) site default language. Second is unnecessary.