B
B
BonBon Slick2017-02-05 16:22:13
Laravel
BonBon Slick, 2017-02-05 16:22:13

Difference between @lang() and {{ trans() }}?

Difference between @lang() and {{ trans() }}?
The result is identical. Pulls out the translation string.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Evgrafovich, 2017-02-05
@BonBonSlick

The second can be used not only in templates, but also, for example, in api

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question