XF 2.1 How to use variable in phrases on template

fahad ashraf

Well-known member
Hello,

i want to get phrase name dynamic on template within loop for example

<xf: foreach loopvariable $i=$i>
{{phrase('abc_' {$i} ) }}
</xf:foreach>

Basically i want to use variable on phrase name but i am getting error anyone please help me

Thanks
 
Top Bottom