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:
It never really worked and always used English translation. Put you labels in a closure so they are evaluated later.
Jump to solution
1 Reply
Solution
Dennis Koch
Dennis Koch16mo ago
It never really worked and always used English translation. Put you labels in a closure so they are evaluated later.
Want results from more Discord servers?
Add your server