Level 36
@sibarra@browns.edu.au
{!! __('Hello :user, How are you ?', ['user' => $guest]) !!}
should work. or try
{!! htmlspecialchars_decode(__('Hello :user, How are you ?', ['user' => $guest])) !!}
I have created json translation file : en.json i would like to add html tag to the translation string
{ "Hello :user, How are you ?" : "Hello :user, how are you?" }
When i am using it in blade something like this
{{ __('Hello :user, How are you ?', ['user' => $guest])}} or {!! __('Hello :user, How are you ?', ['user' => $guest]) !!}
both does not work.
Any idea how i render that html tag using json translation file.
Thank you
Please or to participate in this conversation.