TheSkullKid
Active member
Code:
<xf:set var="$id" value="hello" />
{{phrase('$id')}} <!-- not working result in $id -->
{{phrase($id)}} <!-- error Phrase name must be literal -->
{{phrase('{{$id}}')}} <!-- not working result in {{$id}} -->
{{phrase({{$id}})}}<!-- Syntax error -->
I want to get something like
Code:
{{phrase('hello')}} --> result into Bonjour, which is the configured phrase
Thanks