Active
Project:
GMap Module
Version:
7.x-2.6
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2013 at 15:45 UTC
Updated:
14 Apr 2013 at 15:20 UTC
After upgrading to 7.x-2.6,How to indicate the language in the Google Maps?
It used to be in Hebrew for me, now after upgrading all the node locations maps are only in English.
Where do I change this?
BR
Itzhak
Comments
Comment #1
johnvWhich version did you use before?
Comment #2
imoreno commentedHi,
I was using GMap 7.x-1.0-beta3. used to work OK.
I think that api V3 is broken somehow with the language parameter. I have roled back but i think there is an issue with map localization on the 7x.2x versions.
would love to test any new version.
BR
Itzhak
Comment #3
imoreno commented7.x-1.0-beta3 does not have this issue, working fine in Hebrew. After upgrading to 7.2.6. maps displays only in English, language parameter is ignored.
BR
Itzhak
Comment #4
johnvGoogleMaps changed the language indicator from "hl=[language]" (v2) to "language=[language]". They have different domains (value sets).
There is 1 language parameter, which GMap is using, as described here with the language list here.
The Drupal language code are listed in includes/iso.inc.
From the Google documentation page:
For your situation, I created a language 'Hebrew', and its drupal code is 'he'. Google's API v3 code is 'iw'.
Hence we need a mapping, like is done for #870350: Patch for better gmap for China.
Since your OP describes the general symptom adequately, let's keep this issue open for other people experiencing the same problem, and re-open a separate issue for the hebrew translation.
Comment #5
johnvAnother language: Google: 'no' = NORWEGIAN is in Drupal:
'nb' => array('Norwegian Bokmål', 'Bokmål'),
'nn' => array('Norwegian Nynorsk', 'Nynorsk'),
All other languages are not (yet) supported by Google maps API v3.
Comment #6
johnvPlease see #1970056: Some Drupal languages not supported by Google API v3: Hebrew, Norwegian