code: public void addImportPrincipalTranslation(String type, String from, String to) {
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(
                  Messages.get().getBundle().key(
                      Messages.LOG_IMPORTEXPORT_ADDED_PRINCIPAL_TRANSLATION_3,
                      type,
                      from,
                      to));
          }
          if (I_CmsPrincipal.PRINCIPAL_GROUP.equalsIgnoreCase(type)) {
              m_importGroupTranslations.put(from, to);
              if (LOG.isInfoEnabled()) {
                  LOG.info(
                      Messages.get().getBundle().key(Messages.INIT_IMPORTEXPORT_ADDED_GROUP_TRANSLATION_2, from, to));
              }
          } else if (I_CmsPrincipal.PRINCIPAL_USER.equalsIgnoreCase(type)) {
              m_importUserTranslations.put(from, to);
              if (LOG.isInfoEnabled()) {
                  LOG.info(Messages.get().getBundle().key(Messages.INIT_IMPORTEXPORT_ADDED_USER_TRANSLATION_2, from, to));
              }
          }
      }
docs: Adds an import princial translation to the configuration.<p>
  
  @param type the princial type ("USER" or "GROUP")
  @param from the "from" translation source
  @param to the "to" translation target