code: public static String getProperty(final String _key,
                                       final String _language,
                                       final boolean _returnKey)
      {
          String value = null;
          try {
              final SystemConfiguration config = EFapsSystemConfiguration.get();
              final boolean showKey = config == null
                              ? false
                              : config.getAttributeValueAsBoolean(KernelSettings.SHOW_DBPROPERTIES_KEY);
  
              if (showKey) {
                  value = _key;
              } else {
                  final String cachKey = _language + ":" + _key;
                  final Cache<String, String> cache = InfinispanCache.get().<String, String>getCache(
                                  DBProperties.CACHENAME);
                  if (cache.containsKey(cachKey)) {
                      value = cache.get(cachKey);
                      if (value.equals(DBProperties.NULLVALUE)) {
                          value = null;
                      }
                  } else {
                      value = DBProperties.getValueFromDB(_key, _language);
                      if (value == null) {
                          cache.put(cachKey, DBProperties.NULLVALUE);
                      } else {
                          cache.put(cachKey, value);
                      }
                  }
              }
          } catch (final EFapsException e) {
              DBProperties.LOG.error("not able to read ShowDBPropertiesKey from the webConfig", e);
          }
          return (value == null && _returnKey) ? "?? - " + _key + " - ??" : value;
      }
docs: Method that returns the value, depending on the parameter _language, for
  the given key. <br>
  The Search for the key, first searches for a localized Version and if not
  found for a Default. If no value can be found, the key will be returned.
  
  @param _key Key to Search for
  @param _language language to use
  @param _returnKey return the key if no property found
  @return if key exists, the value for the key, otherwise the key