Translates alias references to their defined values.
    The first token is a channel alias.
    The remaining tokens are value aliases.

def translate_message_tokens(message_tokens):
    """
    Translates alias references to their defined values.
    The first token is a channel alias.
    The remaining tokens are value aliases.
    """
    trans_tokens = []
    if message_tokens[0] in cv_dict[channels_key]:
        trans_tokens.append(cv_dict[channels_key][message_tokens[0]])
    else:
        trans_tokens.append(int(message_tokens[0]))

    for token in message_tokens[1:]:
        if token in cv_dict[values_key]:
            trans_tokens.extend(cv_dict[values_key][token])
        else:
            trans_tokens.append(int(token))

    return trans_tokens