CGGooglemaps language

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kris29
Forum Members
Forum Members
Posts: 53
Joined: Wed Dec 10, 2008 10:56 pm

CGGooglemaps language

Post 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?
andershz
Forum Members
Forum Members
Posts: 49
Joined: Fri Nov 21, 2008 9:30 pm

Re: CGGooglemaps language

Post 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.
kris29
Forum Members
Forum Members
Posts: 53
Joined: Wed Dec 10, 2008 10:56 pm

Re: CGGooglemaps language

Post 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.
Post Reply

Return to “Modules/Add-Ons”