code: public static String getText(String key, ResourceBundle bundle)
      {
          try
          {
              return  bundle.getString(key);
          }
          catch (MissingResourceException ex)
          {
              return key;
          }
      }
docs: Custom I18n. Based on WebWork i18n.
  
  @param key a {@link java.lang.String} object.
  @return the i18nze message. If none found key is returned.
  @param bundle a {@link java.util.ResourceBundle} object.