Any label, heading or title for view components, including the view itself, can be dynamically specified using a unit variable. The variable lookup is controlled via the lang file and specified inside curly brackets using the fully qualified variable name. This includes the unit name followed by a colon followed by the variable name. Also note that the feature is not available to Helium menu items.
<info label="info_label.country_division">
<binding variable="state" />
</info> |
Unit CountryUtil;
string countryDivision;
void init() {
countryDivision = "province";
} |
info_label.country_division={CountryUtil:countryDivision} |