private String getString(String string, Object[] objects) {
    String trans = null;
    if (!doTranslate.booleanValue())
      return MessageFormat.format(string, objects);
    for (int bundle = 0; bundle < translationResourcesCount; bundle++) {
      try {
        trans = MessageFormat.format(translationResources[bundle]
            .getString(string), objects);
        return trans;
      } catch (MissingResourceException e) {
        // Normal
      }
    }
    trans = MessageFormat.format(string, objects);
    if (translationResourcesCount > 0) {
      Logger.debug("No trans, using default: " + trans);
    }
    return trans;
  }