private static ResourceBundle getMessagesBundle() {
    for (String name : BUNDLE_NAMES) {
      try {
        return ResourceBundle.getBundle(name);
      }
      catch (MissingResourceException ignored) {
      }
    }
    return null;
  }
private static ResourceBundle getMessagesBundle()