a language feature supporting such kind of mapping is not available. I would use the switch-case statement to select depending on the provided number one of the available strings. If the string is stored in a localized, multilingual constant, the implementation will automatically provide the right language version for the string. Such switch-case mapping could look like this:
var string theString = "";
switch ( theID )
case 520000 : theString = YourUnit::xpto1;
case 520001 : theString = YourUnit::xpto2;
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!