2017-09-21, 00:04
Hi, is it possible to use a variable to pass a number to a $LOCALIZE[] label?
This is my variable:
This is my label:
From what I can tell, it's translating the var to 0, so instead of printing the string with id 315002, it's printing the string with id 0, which is "programs".
This is my variable:
Code:
<variable name="ViewtypeLabel">
<value condition="Control.IsVisible(50)">315002</value>
<value condition="Control.IsVisible(51)">315003</value>
<value condition="Control.IsVisible(500)">315007</value>
</variable>
This is my label:
Code:
<label>$LOCALIZE[$VAR[ViewtypeLabel]]</label>
From what I can tell, it's translating the var to 0, so instead of printing the string with id 315002, it's printing the string with id 0, which is "programs".