# Deleted posts still show full content when translation is enabled

**URL:** https://meta.discourse.org/t/deleted-posts-still-show-full-content-when-translation-is-enabled/407942
**Category:** Bug
**Tags:** ai, dynaloc, content-localization
**Created:** [July 18, 2026, 11:25am UTC](https://meta.discourse.org/t/deleted-posts-still-show-full-content-when-translation-is-enabled/407942 "2026-07-18T11:25:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![asa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/asa/32/184869_2.png) [@asa](https://meta.discourse.org/u/asa)
#### Post date: [July 18, 2026, 11:25am UTC](https://meta.discourse.org/t/deleted-posts-still-show-full-content-when-translation-is-enabled/407942/1 "2026-07-18T11:25:06Z")

</div>

Hi, I was reading a thread earlier and was confused because the amount seemed to be listed twice, but then I noticed something.

When a post is deleted by its author, the post body is still rendered in full if the viewer has the translation feature enabled (Discourse AI / translations). Switching back to the original language correctly shows the “(post deleted by author)” placeholder. The cached translation appears to be rendered without checking the post’s deleted state.

**Steps to reproduce**

1. Enable post translation (Discourse AI translator) on the site.
2. Create a post in language A; let it be translated into language B.
3. View the topic with the translation toggle active (viewing in language B).
4. Delete the post as the author.
5. Reload the topic while still viewing the translated version.

**Actual**

The full translated post body is displayed. Only after switching back to the original language does the placeholder appear. See screenshots — same post, same author, same edit count and timestamp.

**Notes**

This is potentially a privacy issue: content the author intended to remove remains publicly readable to anyone using the translated view.

> [@Resenha - Add Discord-style Voice Rooms to Your Community studio\_microphone](https://meta.discourse.org/t/resenha-add-discord-style-voice-rooms-to-your-community/389056/67):
>
> (post deleted by author)

Original Language

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/2/6/52635626b8d71bcebbf01a40c0501b421be06d1f.png)

Translated into German

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/c/a/bca6835a4dd41251cde1b0b115a7f87d1cebed21.png)

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [July 21, 2026, 5:14am UTC](https://meta.discourse.org/t/deleted-posts-still-show-full-content-when-translation-is-enabled/407942/3 "2026-07-21T05:14:24Z")

</div>

Thank you for the report, this is indeed not great.

This should be fixed here:

> <https://github.com/discourse/discourse/pull/41861>
>
> Related: https://meta.discourse.org/t/deleted-posts-still-show-full-content-when…-translation-is-enabled/407942
> 
> Translations could reveal a post’s content after its author deleted it. Translation backfills could also recreate localizations that had been removed.
> 
> This PR prevents author-deleted posts from using or generating localizations. The stored localizations are preserved so they become available again if the post is recovered, while deleted posts display the deletion notice in the viewer’s locale.
> 
> \<img width="803" height="483" alt="Screenshot 2026-07-21 at 12 15 07 PM" src="https://github.com/user-attachments/assets/9ec52dfa-1b9d-4557-aece-1c58cf216c81" /\>

Also noted here that we still translate author-deleted posts and wasting tokens, so I’m excluding those posts from backfilling as well. (i.e. if a post doesn’t have translation yet, and the author deletes it, it _was_ being included in translation backfill – now excluded.)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 24, 2026, 6:55am UTC](https://meta.discourse.org/t/deleted-posts-still-show-full-content-when-translation-is-enabled/407942/4 "2026-08-24T06:55:19Z")

</div>


