# Localização de conteúdo: as notificações push de novas publicações são enviadas antes de a tradução ser salva

**URL:** <https://meta.discourse.org/t/content-localization-push-notifications-for-new-posts-are-sent-before-the-translation-is-stored/413952>\
**Category:** Feature\
**Tags:** push-notifications, completed, ai-plugin, content-localization\
**Created:** [Outubro 5, 2026, 11:49am UTC](https://meta.discourse.org/t/content-localization-push-notifications-for-new-posts-are-sent-before-the-translation-is-stored/413952 "2026-10-05T11:49:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [Novembro 20, 2026, 9:48am UTC](https://meta.discourse.org/t/content-localization-push-notifications-for-new-posts-are-sent-before-the-translation-is-stored/413952/3 "2026-11-20T09:48:03Z")

</div>

@Falco fez isso aqui 🥳

> <https://github.com/discourse/discourse/pull/44767>
>
> Previously, push notifications for a new post were built right after the post wa…s created, before its translation was stored, so members reading another language got the original text, unlike the translated email for the same post.
> 
> This change holds those pushes (up to the hidden \`push\_notification\_localization\_max\_wait\_mins\`, default 3) and sends each one as soon as the translation into the recipient's locale is stored or the translator reports it is done with the post. Pushes and live alerts now choose content through the same rule emails use (\`ContentLocalization\`), so they respect \`automatically\_translate\` and \`understood\_languages\`, and skip translations made for an older version of the post.
> 
> \- Core fires \`:post\_localization\_saved\` when a translation is committed, and listens for \`:post\_localizations\_finished\`, which discourse-ai fires after every \`DetectTranslatePost\` run.
> \- Plugins tell core a translation is on its way through the \`deliver\_push\_notification\_localization\_pending\` modifier.
> \- Held pushes live in a Redis hash per post. Delivery claims a push with \`HDEL\`, so it is sent once even when a release and the wait limit both deliver it.
> 
> Reported at https://meta.discourse.org/t/413952

---

_[View the full topic](https://meta.discourse.org/t/content-localization-push-notifications-for-new-posts-are-sent-before-the-translation-is-stored/413952)._
