Hi Rik,

Would there be any way to set the language of leaflet maps? Currently, the leaflet map uses local language, for instance, for Cambodian locations the city names are written in Khmer and for Chinese locations the maps use mandarin (?).

I'd like to set it all to English :)

I'm seeing some references to this issue, such as this post on StackExchange, but I'm not sure how to go about this via the ip_geoloc module.

Thanks as always for your thoughts.

Comments

RdeBoer’s picture

Hi Alf,

If you aren't too fussed about the look of your map, then it could be worth trying the 20+ alternatives provided by Leaflet More Maps, out of the box, ready for you to choose from a handy drop-down ... Maybe some of those are hardwired in English... you'll have to try and see.

I'll have to have a closer look at some of the other alternatives mentioned in your Stackexchange post...

Rik

AlfTheCat’s picture

Hey Rik,

Interesting. I have the module installed but not taken the time to go through all of them yet. The example page provided on the module page of Leaflet More Maps doesn't show them all so I'll have to go and explore.

I am fussy about how the map looks but not married to the original one. I'll look for the ones that are hardwired for English. If anything, they might provide a clue as to copy that behavior to other maps.

Thanks!!!

RdeBoer’s picture

No worries, Alf,
Let us know your findings and I'll add a note to the Leaflet More Maps project page and/or README.
Rik

AlfTheCat’s picture

I still havent tried all but the Bing maps are showing everything in English :)

RdeBoer’s picture

Thanks for circling back and letting us know!

AlfTheCat’s picture

Very welcome :)