variables as indicator for phrases

T

TheSkullKid

Guest
Member
Code:

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 -->
Hello is it possible to use a variable in phrases, like that in templates



I want to get something like
Code:

{{phrase('hello')}} --> result into Bonjour, which is the configured phrase

Thanks
variables as indicator for phrases

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    J @ JmLiver: a
    Top