Problem

It is possible to use text fields in the marker infowindow. For this, the Geofield Google Map field formatter gets the entity to which the field items below. Currently it does not use the provided langcode to get the correct translation of the entity.

Proposed resolution

Load the translation of the field item entity.

Comments

alduya created an issue. See original summary.

alduya’s picture

itamair’s picture

Status: Active » Needs review
itamair’s picture

Version: 8.x-1.x-dev » 8.x-1.41
itamair’s picture

StatusFileSize
new850 bytes

very nice catch @alduya.
I just completed your patch with a further check on translation existence and a comment.

  • itamair committed 344c6cc on 8.x-1.x authored by alduya
    Issue #2950829 by alduya, itamair: Load translated entity in map field...
itamair’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.