Page 1 of 1

CGGooglemaps language

Posted: Thu Mar 11, 2010 11:20 pm
by kris29
Hello

I would like to show maps in different languages.
Is there a way to change this in CGGooglemaps or is it a browser issue?

Re: CGGooglemaps language

Posted: Fri Mar 12, 2010 8:06 am
by andershz
CGGoogleMaps ignores the "lang=" setting, (at least the version I'm using), but there is a trick.
In the CGGoogleMaps admin panel under "Preferences->Google API Key" add "&hl=XX" at the end of the API key.
XX being the language code, which is not in the same format as the CMSMS lang setting.
You have to check the Google Maps API documentation to see what languages are supported.
If you want to have several different languages in the same site then it's a bit more complicated.

Re: CGGooglemaps language

Posted: Sun Mar 14, 2010 4:33 pm
by kris29
Thank you andershz
Now I just need to find out how to manage it with three languages. I'll check the Google Maps API documentation.