Hi I would like to concat a string into a variable to retrieve the value of another variable let say the example is below
# Variable one
filter_var = "The value to get"
name = "var"
# now I want to retrieve the value of filter_var. What I was thinking is something like this
{{ "filter_".name }} # assuming "name" variable has dynamic content
How do I solve this?
Edit:
Another sample is below
traduction.Product = "the value"
categorie = "Product"
# Now I'm trying to output the value in a div tag
<div>{{ traduction.{{categorie}} }}</div>
but I'm getting an error of Expected name or number.