architecture
architecture copied to clipboard
Translations in di.xml
Problem
There are translate
attribute supported in layouts, while di.xml
supports translatable
with different behavior. This is confusing and may lead to bugs.
See MAGETWO-67048 (internal issue with old discussion).
Solution
Unify translation attributes in XML files.
Requested Reviewers
@melnikovi @maghamed @kokoc
- @kandy : keep behavior as is. It may be impossible to implement due to
di.xml
being loaded too early - Look into all cases where translations are provided via
di.xml
and see if we can eliminate translations fromdi.xml
at all.