- 🇩🇪Germany quotientix
The patch doesn't work for me. I did a workaround via CSS and Twig:
In the paragraph-Template I set the class:
'lang-' ~ paragraph.get('langcode').value
Via CSS I hide the "other" language:
html[lang=en] { .paragraph.lang-de { display: none !important; } }
- 🇪🇸Spain rodrigoaguilera Barcelona
Adding more relevant issues from core.
The most promising in my opinion is 🐛 EntityRepository::getTranslationFromContext() function forcibly adds default entity language to fallback candidates Needs review
If an API lands in core for disallowing this kind of fallback we can rely on that add a setting to a field formatter.