code: public String getDisplayValue(Locale loc, Object ob) {
          if( ob == null ) {
              return "";
          }
          if( ob instanceof Translator ) {
              @SuppressWarnings("rawtypes") Translation trans = ((Translator)ob).get(loc);
              
              if( trans == null ) {
                  return null;
              }
              return getDisplayValue(trans.getData());
          }
          else {
              return getDisplayValue(ob);
          }
      }
docs: Provides a display version of the specified value translated for the target locale.
  @param loc the locale for which the display should be translated
  @param ob the target value
  @return a display version of the specified value