I want to localize my app, but I got a problem:
If I call the trans function like this: {{ __('permission.addUser') }}
, the output is
Add new user
If I call {{$permissions[13]}}
the output is
addUser
But if I mix them: {{ __('permission.$permission[13]') }}
, the output is
permission.$permissions[13]
What's missing? What I did wrong?