I see this function is used extensively in UF, however, I can find no documentation in UF or the Twig docs about it.
Example: translate("BUILT_WITH_UF")
Where is BUILT_WITH_UF defined ???
How to use it???
Thanks,
Mike
I see this function is used extensively in UF, however, I can find no documentation in UF or the Twig docs about it.
Example: translate("BUILT_WITH_UF")
Where is BUILT_WITH_UF defined ???
How to use it???
Thanks,
Mike
BUILT_WITH_UF
is a language key : https://github.com/userfrosting/UserFrosting/blob/master/app/sprinkles/core/locale/en_US/messages.php
Twig translate
function is linked to UF Translator service. You can find more about it here.
Thank you.