- 🇵🇱Poland gugalamaciek
Consider scenario:
1. Open node page using shs. Terms are cached based on interface langauge (e.g. langA)
2. Open translations form. Data is get based on interface language (in most cases the same as in point 1.). So you create translation to langB, but you see term labels in langA.What can be done is to change caching strategy from interface to content. So change this:
$this->contexts = ['languages:language_interface', 'user.roles'];
into this:
$this->contexts = array_merge(['languages:' . LanguageInterface::TYPE_CONTENT, 'user.roles']);
Terms are content, not interface. They should take into account content langauge, not interface langauge.
Proposed patch provides this change.
- Status changed to Needs review
12 months ago 11:40am 5 February 2024 - 🇨🇦Canada joseph.olstad
This patch still applies cleanly to 2.0.x
With that said, does this patch work with AND without translation?