code: private String[] createLabels(final String id, final Object[] keys)
      {
          String[] messages = new String[keys.length];
          for (int i = 0; i < messages.length; ++i)
          {
              messages[i] = getApplicationConfig().messageResolver().getMessage(id, keys[i] == null ? "null" : keys[i].toString(),
                      "label");
          }
          return messages;
      }
docs: Will resolve keys to messages using 'id'.'key'.label as a message
  resource key.
  
  @param id
  id to use with message key resolving.
  @param keys
  keys to extract messages from.
  @return array containing labels/messages for each key.