Problem/Motivation

I'm facing the Issue that when I run entityByObject the entity will always be returned in the default language instead of the translated langauge. No matter what the context language is.
I'm using

  • Drupal core 9.1.5
  • GraphQL 8.x-3.1
  • GraphQL Twig 8.x-1.0-beta16
  • Graphql Enitity by Object 8.x-1.0-alpha1

Proposed resolution

Translate entity into context language

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

InaW created an issue. See original summary.

inaw’s picture

Issue summary: View changes

inaw’s picture

Status: Active » Needs review

I added a Patch that translates entities into context language: https://git.drupalcode.org/issue/graphql_entity_by_object-3204012/-/comm...

  • InaW committed 82ed4809 on 8.x-1.x
    Issue #3204012: Multilingual entities are always displayed in the...
inaw’s picture

Status: Needs review » Fixed
inaw’s picture

Status: Fixed » Closed (fixed)