Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
RdeBoerHi 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
Comment #2
AlfTheCat CreditAttribution: AlfTheCat commentedHey 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!!!
Comment #3
RdeBoerNo worries, Alf,
Let us know your findings and I'll add a note to the Leaflet More Maps project page and/or README.
Rik
Comment #4
AlfTheCat CreditAttribution: AlfTheCat commentedI still havent tried all but the Bing maps are showing everything in English :)
Comment #5
RdeBoerThanks for circling back and letting us know!
Comment #6
AlfTheCat CreditAttribution: AlfTheCat commentedVery welcome :)