Skip to content

Route Query doesn't translate entity references #463

@pavlosdan

Description

@pavlosdan

Calling a route query as a default language brings in all the correct fields with their values in the default language(in this case english).
language-default

Adding chinese to the path it was expected that we would get the translated node with all the references translated as well. What we get instead is the translated node with its fields in chinese (title, description) but the references (widgets) in english.
language-chinese

So far the only way we found to get the translated references was to wrap all references in "entityTranslation" and pass in the language through a variable. e.g:
language-chinese-wrappedentitytranslation

Shouldn't the route query return the translated entities as well without the need to wrap them into entityTranslation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions