Update the delete link generation in ApiLayoutController.php to use canvas.api.config.translation.delete in the template context
**Overview** For content template in Canvas, the language selector in top bar shows a "Delete translation" option for languages that have a translation of the preview entity. However, the delete link generated by `ApiLayoutController::get()` currently always points to `canvas.api.content.translation.delete`, which is hardcoded to the `canvas_page` entity type and will fail to resolve for other entity types used as preview entities. **Proposed Solution** Use the dedicated `canvas.api.config.translation.delete` route in the template context - update `ApiLayoutController::get()` to point the delete link to this route when $entity is a ContentTemplate, rather than using `canvas.api.content.translation.delete`.
issue