protected List getNonExistingLanguages() throws DocumentBuildException, DocumentException {
Document source = getSourceDocument();
List nonExistingLanguages = new ArrayList();
String[] languages = source.getPublication().getLanguages();
for (int i = 0; i < languages.length; i++) {
if (!source.existsTranslation(languages[i])) {
nonExistingLanguages.add(languages[i]);
}
}
return nonExistingLanguages;
}