Translation in panel providers when registered in Provider.
I tried to register a MenuItem with __('Help') label, but tranlsation service is not registered yet (Target class [translator] does not exist.). It is weird to me that it worked until v3.0.13, but not after that.
Solution:Jump to solution
It never really worked and always used English translation. Put you labels in a closure so they are evaluated later.
1 Reply
Solution
It never really worked and always used English translation. Put you labels in a closure so they are evaluated later.