I am building a multilingual website where a page will display all locations on a map. Each marker on a map has a link to the location's page. However, only links to English pages are displayed in markers. I have tried both Geofield Map and Leaflet to no avail.

How can I make urls in map markers to be language specific?

Given the fact that I couldn't find an answer on the web, I might have missed something simple. I am new to drupal and any help is appreciated.

  • Sorry, but how we can know what simple thing you missed, if you don't show us how did you implement markers and show them on a map? – Mołot Mar 27 '14 at 10:21

Here is how I solved it:

When creating View I added Language into Fields and Language into Filter Criteria.

That simple!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.