Form constructor for the translation deletion confirmation.
function translation_entity_delete_confirm(array $form, array $form_state, EntityInterface $entity, Language $language) {
$langcode = $language->langcode;
$controller = translation_entity_controller($entity
->entityType());
return confirm_form($form, t('Are you sure you want to delete the @language translation of %label?', array(
'@language' => $language->name,
'%label' => $entity
->label(),
)), $controller
->getEditPath($entity), t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}