country = person.getCountry().getCountryNationality().getContent(getLanguage()).toLowerCase();
} else {
throw new DomainException("error.personWithoutParishOfBirth");
}
PhdRegistryDiplomaRequest phdRequest = getDocumentRequest();
String secondParagraph =
BundleUtil.getString(Bundle.ACADEMIC, getLocale(), "label.phd.registryDiploma.phdSecondParagraph");
addParameter(
"secondParagraph",
MessageFormat.format(secondParagraph, studentGender,
BundleUtil.getString(Bundle.ENUMERATION, getLocale(), person.getIdDocumentType().getName()),
person.getDocumentIdNumber(), country, phdRequest.getPhdIndividualProgramProcess().getPhdProgram()
.getName().getContent(getLanguage())));
}