·
10 min read
@lang vs __() vs trans() in Laravel: What Each One Actually Does
Laravel's translation helpers all call the same method, but @lang skips HTML escaping. Here's how they differ on arrays, missing keys and Lang::has.