Hey guys,
I have a few translation strings as follows in an .ini file:
lang_product_typeone = Product type one
lang_product_typetwo = Product type two
From the database I get only "typeone" or "typetwo".
Is it possible to use those translation strings by somehow concatenating "lang_product_" with the result from the database and get the corresponding translation?
I've tried
{{ @lang_product_.@dbresult }}
and some other combinations with parenthesis, quotes, etc, but it doesn't seem to work.
Any ideas on how to best achieve this?
Thanks