How can I use HTML tags in a Laravel localization file?

Use {!! !!} instead of {{ }} to prevent escaping:

{!! trans('nav.find') !!}

Using @lang directive:

@lang('nav.find')

Source: Retrieving Translation Strings


Using Laravel 5.6 and above, can use the __ helper along with the blade syntax:

{!! __('pagination.next') !!}

Had to do those for the pagination blade templates.