📅  最后修改于: 2022-03-11 14:53:51.035000             🧑  作者: Mango
First you have to add the snippets in the admin panel:
Setting->Snippets
After you add the name of the snippet in the twig file
{{ 'nameOfTheSnippetFromBackend'|trans|sw_sanitize }}