After a cache rebuild, locale translations are not being rendered on the template containing the query with e.g. a fieldLink
.
Not sure yet what is causing the issue but starting to describe it here.
node--article.html.twig
, add this query{#graphql
query ($node: String!) {
node:nodeById(id: $node) {
entityLabel
... on NodeArticle {
title
fieldLink {
title
url {
path
}
}
}
}
}
#}
{{ 'Translation'|t }}
$this->cacheTagsInvalidator->invalidateTags(['rendered', 'locale']);
url { path }
from the query or not having a value for the linkpage.html.twig
) with the same locale is translated properlyActive
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.