Skip to content

The first translation on the child item will be translated to the fallback language #766

@Sentence

Description

@Sentence

When listing an entity's childs, the first translation on the child item will be translated to the fallback language, the 2nd and 3rd in the list is using the current locale correctly.

Eg. the first one will be the fallback language, the rest will be the current locale:
{% for item in list %} {{ item.country.name }}<br/> {% endfor %}

If forcing the translation to the currenct locale with .translate(app.request.locale) it works

I'm using this bundle for 4-5 years now but got this issue twice only in many projects.

Any tips or suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions