Follow-up from #1498660: Refactor taxonomy entity properties to multilingual:

I am not entirely sure about the DX implications of this change: it might make sense but it might also open the way for the idea that's the entity responsibility to provide the proper translation data for the current context, which is not. Entities are dumb data containers. Anyway, if we do this we should do it for any entity type, that is ::getTranslatedLabel().

Comments

Gábor Hojtsy’s picture

Status: Active » Closed (won't fix)

We introduced getTranslation() instead which is chainable with getLabel() and other methods.