bolt/docs

How to use translations in twig templates?

AndreyChursin opened this issue · 2 comments

I need to show the text in the footer of the template, but I don't understand how to do it.
May be there any function like:
{{ message('sometitle') }}
witch takes the string from the "translations/messages.??.xlf" file and in current locale?

There's {{ l('foo') }} and {{ __('message') }}

I found {{ message|trans }}, thanks!