I am trying to get translated node title in my custom views-view-unformatted twig file.
Here is the way I am retrieving my node title in twig file

<div class="col-md-6 title">
    {% for row in rows %}
   <strong>{{ row.content['#row']._entity.title[0].value }}</strong>
    {% endfor %}

By the above code I can only retrieve the English node title but translations aren't there even though my query selecting based on Interface text language selected for page



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.