_app.Name
_app.Label
- Define a true/false formula on your top-level model, name it something concise and sensible, like XLabels or whatever you want. The body of this formula would be something like _app.Name === "ClientInterview" or whatever.
- Then in the labels or help text, you would just do {[if XLabels]}thing 1{[else]}thing 2{[endif]}. Not pretty, I know, but it works now.
- To take it a step further, you could create a Table to hold a particular set of labels. You would correlate each row in that table with a different label or help text or whatever... for example, row 0 holds the label for variable X, row 1 holds the label for variable Y, etc. etc.. Then in the labels themselves, you would say {[if !XLabels]}This is the actual default label{[else]}{[TableX[0].Label]}{[endif]}... the TableX[0] gets the zeroth row out of TableX, and gets the value out of the "Label" column.
- You could keep track (in a spreadsheet or whatever) of what each row number (zero-based) corresponds to. If that worked well, you could also consider just keeping ALL of the labels (including the default labels) in such a spreadsheet ... then your actual labels would just be this: {[if XLabels]}{[TableX[0].Label]}{[else]}{[TableD[0].Label]}{[endif]} , and the actual language would be in tables.
- If you kept a spreadsheet of all the labels and corresponding row numbers, your spreadsheet could generate the template that goes into the actual labels/help text/whatever, and could also generate stuff to paste into the table editor!