code: public String getDisplayName(CmsObject cms, Locale locale, I_CmsGroupNameTranslation translation)
      throws CmsException {
  
          if (!isGroup() || (translation == null)) {
              return getDisplayName(cms, locale);
          }
          return Messages.get().getBundle(locale).key(
              Messages.GUI_PRINCIPAL_DISPLAY_NAME_2,
              translation.translateGroupName(getName(), false),
              OpenCms.getOrgUnitManager().readOrganizationalUnit(cms, getOuFqn()).getDisplayName(locale));
      }
docs: Returns the translated display name of this principal if it is a group and the display name otherwise.<p>
  
  @param cms the current CMS context
  @param locale the locale
  @param translation the group name translation to use
  
  @return the translated display name
  
  @throws CmsException if something goes wrong