I defined the props as an object and put ":lang" but it doesn't work. I have the same problem of " and accentuation.
I ended up finding this alternative:
<nav-bar :lang="{!! json_encode(__('lang'), JSON_UNESCAPED_UNICODE) !!}"> </nav-bar>
But I can't access the translation this way:
{{ lang.navbar.inicio }}
the generated json is as follows:
<nav-bar :lang="{"navbar":{"inicio":"Início","contato":"Contato","sonhos":"Sonhos","blog":"Blog","langIcon":"flag-icon flag-br","meuPerfil":"Meu Perfil","meusRelatos":"Meus Relatos","msg":"Mensagens","notif":"Notificações","prefer":"Preferências","lang":"Idioma:","sair":"Sair"}}"></nav-bar>
Any tips?